Handbook
Glossary
prepare-statement ( statement -- )
Furnace framework
»
Database library
»
Low-level database protocol
Prev:
<prepared-statement> ( string in out -- statement )
Next:
bind-statement* ( statement -- )
Vocabulary
db
Inputs
statement
a
statement
Outputs
None
Word description
For databases which implement a method on this generic, it does some internal processing to ready the statement for execution.
Definition
IN:
db
GENERIC:
prepare-statement
( statement -- )
Methods
USING:
accessors
db
db.postgresql
db.postgresql.ffi
db.postgresql.lib
kernel
namespaces
sequences
;
M:
postgresql-statement
prepare-statement
dup
[
db-connection
get
handle>>
f
]
dip
[
sql>>
]
[
in-params>>
]
bi
length
f
PQprepare
postgresql-error
>>handle
drop
;