Handbook
Glossary
select-tuples ( query/tuple -- tuples )
High-level tuple/database integration
ยป
High-level tuple/database words
Prev:
select-tuple ( query/tuple -- tuple/f )
Next:
count-tuples ( query/tuple -- n )
Vocabulary
db
.
tuples
Inputs
query/tuple
a
tuple
Outputs
tuples
an array of tuples
Word description
An SQL query is constructed from the slots of the exemplar tuple that are not
f
. Returns an array of multiple tuples from the database that match the query constructed from the exemplar tuple.
See also
each-tuple
,
select-tuple
,
count-tuples
Definition
USING:
accessors
db.tuples.private
kernel
;
IN:
db.tuples
:
select-tuples
( query/tuple -- tuples )
>query
[
tuple>>
]
[
query>statement
]
bi
do-select
;