Handbook
Glossary
row-column ( result-set column -- obj )
Furnace framework
»
Database library
»
Low-level database protocol
»
Result sets
Prev:
more-rows? ( result-set -- ? )
Next:
row-column-typed ( result-set column -- sql )
Vocabulary
db
Inputs
result-set
a
result-set
column
an
integer
Outputs
obj
an
object
Word description
Returns the value indexed by
column
in the current row of a
result-set
.
Definition
IN:
db
GENERIC#:
row-column
1
( result-set column -- obj )
Methods
USING:
accessors
byte-arrays
db
db.mysql
io.encodings.string
io.encodings.utf8
kernel
sequences
specialized-arrays.instances.alien.c-types.char
;
M:
mysql-result-set
row-column
swap
[
pointers>>
]
[
lengths>>
]
bi
[
nth
]
bi-curry@
bi
<direct-char-array>
>byte-array
utf8
decode
;
USING:
db
db.postgresql
db.postgresql.lib
kernel
;
M:
postgresql-result-set
row-column
[
result-handle-n
]
dip
pq-get-string
;
USING:
accessors
db
db.sqlite
db.sqlite.lib
kernel
;
M:
sqlite-result-set
row-column
[
handle>>
]
[
sqlite-column
]
bi*
;