Handbook
Glossary
row-column-typed ( result-set column -- sql )
Furnace framework
»
Database library
»
Low-level database protocol
»
Result sets
Prev:
row-column ( result-set column -- obj )
Vocabulary
db
Inputs
result-set
a
result-set
column
an
integer
Outputs
sql
sql
Word description
Returns the value indexed by
column
in the current row of a
result-set
and converts the result based on a type stored in the
result-set
's
out-params
.
Definition
IN:
db
GENERIC#:
row-column-typed
1
( result-set column -- sql )
Methods
USING:
accessors
db
db.postgresql
db.postgresql.lib
kernel
sequences
;
M:
postgresql-result-set
row-column-typed
dup
pick
out-params>>
nth
type>>
[
result-handle-n
]
2dip
postgresql-column-typed
;
USING:
accessors
db
db.sqlite
db.sqlite.lib
kernel
sequences
;
M:
sqlite-result-set
row-column-typed
dup
pick
out-params>>
nth
type>>
[
handle>>
]
2dip
sqlite-column-typed
;