d2sqlite3 ~master (2018-04-15T09:30:59Z)
Home
Dub
Repo
Statement.inject
d2sqlite3
statement
Statement
Binds iterable values in order, executes and resets the statement, in one call.
void
inject
(
Args
args
)
void
inject
(
auto
ref
const
T
obj
)
void
inject
(
auto
ref
T
obj
)
struct
Statement
void
inject
(
T
)
(
auto
ref
T
obj
)
if
(
!
isBindable
!
T
&&
isIterable
!
T
)
in { static if (__traits(compiles, obj.length)) assert (obj.length == this.parameterCount, "parameter count mismatch"); }
Meta
Source
See Implementation
d2sqlite3
statement
Statement
functions
bind
bindAll
clearBindings
empty
execute
finalize
handle
inject
parameterCount
parameterIndex
parameterName
reset
waitForUnlockNotify
Binds iterable values in order, executes and resets the statement, in one call.