Database SΒΆ
alql.spad line 115 [edit on github]
S: OrderedSet with
This domain implements a simple view of a database whose fields are indexed by symbols
- +: (%, %) -> %
db1+db2returns the merge of databasesdb1anddb2
- -: (%, %) -> %
db1-db2returns the difference of databasesdb1anddb2i.e. consisting of elements indb1but not indb2
- coerce: % -> OutputForm
from CoercibleTo OutputForm
- coerce: List S -> %
coerce(l)makes a database out of a list
- display: % -> Void
display(x)displaysxin some form
- elt: (%, QueryEquation) -> %
elt(db, q)returns all elements ofdbwhich satisfyq.
- fullDisplay: % -> Void
fullDisplay(x)displaysxin detail
- fullDisplay: (%, PositiveInteger, PositiveInteger) -> Void
fullDisplay(db, start, end )prints full details of entries in the rangestart..endindb.
- latex: % -> String
from SetCategory