Low-level database protocol
Furnace framework > Database library

Prev:Custom database combinators
Next:Result sets


The high-level protocol (see db.tuples) uses this low-level protocol for executing statements and queries.

Opening a database:
db-open ( db -- db-connection )


Closing a database:
db-close ( handle -- )


Creating statements:
<simple-statement> ( string in out -- statement )

<prepared-statement> ( string in out -- statement )


Using statements with the database:
prepare-statement ( statement -- )

bind-statement* ( statement -- )

low-level-bind ( statement -- )


Performing a query:
query-results ( query -- result-set )


Handling query results:
Result sets