select-tuple ( query/tuple -- tuple/f )
High-level tuple/database integration ยป High-level tuple/database words

Prev:each-tuple ( query/tuple quot: ( tuple -- ) -- )
Next:select-tuples ( query/tuple -- tuples )


Vocabulary
db.tuples

Inputs
query/tuplea tuple


Outputs
tuple/fa tuple or f


Word description
An SQL query is constructed from the slots of the exemplar tuple that are not f. Returns a single tuple from the database if it matches the query constructed from the exemplar tuple.

See also
each-tuple, select-tuples, count-tuples

Definition