rewrite using OraDialect to describe last inserted id differences
This commit is contained in:
parent
6e3204e9f8
commit
6a35b8fe6e
@ -26,9 +26,10 @@ This design decision has the following side affects:
|
||||
|
||||
|
||||
2. Oracle handles last inserted id a bit differently, and requires a sql.Out
|
||||
parameter to return the value. Since Oracle parameters are positional, you
|
||||
need to know how many other bind variables there are before adding the returning
|
||||
clause. (see createCallback() )
|
||||
parameter to return the value in the oci8 driver. Since Oracle parameters
|
||||
are positional, you need to know how many other bind variables there are before
|
||||
adding the returning clause. We've implemented the
|
||||
OraDialect.CreateWithReturningInto(*Scope) to handle this.
|
||||
|
||||
3. Oracle doesn't let you specify "AS <tablename> " when selecting a count
|
||||
from a dynamic table, so you just omit it. (see Scope.count() )
|
||||
|
Loading…
x
Reference in New Issue
Block a user