Handbook
Glossary
bind-statement* ( statement -- )
Furnace framework
»
Database library
»
Low-level database protocol
Prev:
prepare-statement ( statement -- )
Next:
low-level-bind ( statement -- )
Vocabulary
db
Inputs
statement
a
statement
Outputs
None
Word description
Does a low-level bind of the SQL statement's tuple parameters if the database requires. Some databases should treat this as a no-op and bind instead when the actual statement is run.
Definition
IN:
db
GENERIC:
bind-statement*
( statement -- )
Methods
USING:
db
db.postgresql
kernel
;
M:
postgresql-statement
bind-statement*
drop
;
USING:
accessors
db
db.sqlite
kernel
;
M:
sqlite-statement
bind-statement*
sqlite-maybe-prepare
dup
bound?>>
[
dup
reset-bindings
]
when
low-level-bind
;