Handbook
Glossary
pq-get-string ( handle row column -- obj )
Vocabulary
db
.
postgresql
.
lib
Inputs
handle
an
object
row
an
object
column
an
object
Outputs
obj
an
object
Definition
USING:
alien.strings
db.postgresql.ffi
io.encodings.utf8
kernel
sequences
;
IN:
db.postgresql.lib
:
pq-get-string
( handle row column -- obj )
3dup
PQgetvalue
utf8
alien>string
dup
empty?
[
[
pq-get-is-null
f
]
dip
?
]
[
3nip
]
if
;