Handbook
Glossary
find-primary-key ( specs -- seq )
Vocabulary
db
.
types
Inputs
specs
a sequence of SQL specs
Outputs
seq
a sequence of SQL specs
Word description
Returns the rows from the SQL specs array that are part of the primary key. Composite primary keys are supported, so this word must return a sequence.
Notes
This is a low-level word.
Definition
USING:
accessors
sequences
;
IN:
db.types
:
find-primary-key
( specs -- seq )
[
primary-key>>
]
filter
;