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+db2
returns the merge of databasesdb1
anddb2
- -: (%, %) -> %
db1-db2
returns the difference of databasesdb1
anddb2
i.e. consisting of elements indb1
but not indb2
- coerce: % -> OutputForm
from CoercibleTo OutputForm
- coerce: List S -> %
coerce(l)
makes a database out of a list
- display: % -> Void
display(x)
displaysx
in some form
- elt: (%, QueryEquation) -> %
elt(db, q)
returns all elements ofdb
which satisfyq
.
- fullDisplay: % -> Void
fullDisplay(x)
displaysx
in detail
- fullDisplay: (%, PositiveInteger, PositiveInteger) -> Void
fullDisplay(db, start, end )
prints full details of entries in the rangestart..end
indb
.
- latex: % -> String
from SetCategory