<simple-statement> ( string in out -- statement )
Furnace framework » Database library » Low-level database protocol

Prev:db-close ( handle -- )
Next:<prepared-statement> ( string in out -- statement )


Vocabulary
db

Inputs
stringa string
ina sequence
outa sequence


Outputs
statementa statement


Word description
Makes a new simple statement object from the given parameters.

Warning
Using a simple statement can lead to SQL injection attacks in PostgreSQL. The Factor database implementation for SQLite only uses <prepared-statement> as the sole kind of statement; simple statements alias to prepared ones.


Definition

HOOK: <simple-statement> db-connection
( string in out -- statement )


Methods