coreOps.'bool.and'
const · packages/metakit/src/ops/bool.ts:23
and': Node.Op<'bool.and'>;Metakit / @doeixd/metakit/build
namespace · packages/metakit/src/ops/table.ts:23
const coreOps = { 'bool.and', 'bool.or', 'bool.not', 'eq.is', 'eq.in', 'eq.equals', 'eq.among', 'null.isNull', 'null.coalesce', 'str.lowerAscii', 'str.upperAscii', 'str.trim', 'str.concat', 'str.lt', 'str.lte', 'str.gt', 'str.gte', 'ord.lt', 'ord.lte', 'ord.gt', 'ord.gte', 'num.add', 'num.sub', 'num.mul', 'num.neg', 'num.mulScaled', 'num.div', 'num.rem', 'time.addDays', 'time.addMonths', 'time.daysBetween', 'time.startOfMonth', 'time.overlaps', 'str.len', 'str.startsWith', 'str.endsWith', 'str.contains', 'arr.count', 'arr.isEmpty', 'arr.has', 'arr.append', 'arr.include', 'arr.exclude', 'arr.move', 'arr.at', 'arr.with', 'set.union', 'set.intersect', 'set.difference', 'rec.make' }Every primitive's descriptor: a new CoreOpId fails to compile until its operator is here.
coreOps.'bool.and'const · packages/metakit/src/ops/bool.ts:23
and': Node.Op<'bool.and'>;coreOps.'bool.or'const · packages/metakit/src/ops/bool.ts:30
or': Node.Op<'bool.or'>;coreOps.'bool.not'const · packages/metakit/src/ops/bool.ts:37
not': Node.Op<'bool.not'>;coreOps.'eq.is'const · packages/metakit/src/ops/eq.ts:25
is': Node.Op<'eq.is'>;coreOps.'eq.in'const · packages/metakit/src/ops/eq.ts:35
in': Node.Op<'eq.in'>;coreOps.'eq.equals'const · packages/metakit/src/ops/eq.ts:54
equals': Node.Op<'eq.equals'>;SQL's =: refused for text holding a NUL or for NaN, on either side and
before null; then null where either side is null.
coreOps.'eq.among'const · packages/metakit/src/ops/eq.ts:69
among': Node.Op<'eq.among'>;SQL's in. In order: a refused operand refuses; a null list gives null; no candidate gives false,
whatever the value, null included (SQLite's x in (), and what Drizzle
writes for an empty inArray); text holding a NUL or NaN, in the value or a
candidate, refuses; a null value gives null; then true for a match, null
where none matches beside a null candidate, and false.
coreOps.'null.isNull'const · packages/metakit/src/ops/null.ts:9
isNull': Node.Op<'null.isNull'>;coreOps.'null.coalesce'const · packages/metakit/src/ops/null.ts:20
coalesce': Node.Op<'null.coalesce'>;a, or b where a is null, as SQL's coalesce: where a has a value
the answer is a whatever b is, so b's refusal does not reach it.
coreOps.'str.lowerAscii'const · packages/metakit/src/ops/str.ts:83
lowerAscii': Node.Op<'str.lowerAscii'>;coreOps.'str.upperAscii'const · packages/metakit/src/ops/str.ts:93
upperAscii': Node.Op<'str.upperAscii'>;coreOps.'str.trim'const · packages/metakit/src/ops/str.ts:114
trim': Node.Op<'str.trim'>;coreOps.'str.concat'const · packages/metakit/src/ops/str.ts:103
concat': Node.Op<'str.concat'>;coreOps.'str.lt'const · packages/metakit/src/ops/str.ts:144
lt': Node.Op<"str.lt">;coreOps.'str.lte'const · packages/metakit/src/ops/str.ts:145
lte': Node.Op<"str.lte">;coreOps.'str.gt'const · packages/metakit/src/ops/str.ts:146
gt': Node.Op<"str.gt">;coreOps.'str.gte'const · packages/metakit/src/ops/str.ts:147
gte': Node.Op<"str.gte">;coreOps.'ord.lt'const · packages/metakit/src/ops/ord.ts:40
lt': Node.Op<"ord.lt">;coreOps.'ord.lte'const · packages/metakit/src/ops/ord.ts:41
lte': Node.Op<"ord.lte">;coreOps.'ord.gt'const · packages/metakit/src/ops/ord.ts:42
gt': Node.Op<"ord.gt">;coreOps.'ord.gte'const · packages/metakit/src/ops/ord.ts:43
gte': Node.Op<"ord.gte">;coreOps.'num.add'const · packages/metakit/src/ops/arith.ts:38
add': Node.Op<'num.add'>;coreOps.'num.sub'const · packages/metakit/src/ops/arith.ts:46
sub': Node.Op<'num.sub'>;coreOps.'num.mul'const · packages/metakit/src/ops/arith.ts:54
mul': Node.Op<'num.mul'>;coreOps.'num.neg'const · packages/metakit/src/ops/arith.ts:62
neg': Node.Op<'num.neg'>;coreOps.'num.mulScaled'const · packages/metakit/src/ops/mulScaled.ts:72
mulScaled': Node.Op<'num.mulScaled'>;coreOps.'num.div'const · packages/metakit/src/ops/divRem.ts:107
div': Node.Op<'num.div'>;coreOps.'num.rem'const · packages/metakit/src/ops/divRem.ts:124
rem': Node.Op<'num.rem'>;coreOps.'time.addDays'const · packages/metakit/src/ops/time.ts:114
addDays': Node.Op<'time.addDays'>;coreOps.'time.addMonths'const · packages/metakit/src/ops/time.ts:135
addMonths': Node.Op<'time.addMonths'>;coreOps.'time.daysBetween'const · packages/metakit/src/ops/time.ts:148
daysBetween': Node.Op<'time.daysBetween'>;coreOps.'time.startOfMonth'const · packages/metakit/src/ops/time.ts:169
startOfMonth': Node.Op<'time.startOfMonth'>;coreOps.'time.overlaps'const · packages/metakit/src/ops/time.ts:180
overlaps': Node.Op<'time.overlaps'>;coreOps.'str.len'const · packages/metakit/src/ops/str.ts:50
len': Node.Op<'str.len'>;coreOps.'str.startsWith'const · packages/metakit/src/ops/str.ts:59
startsWith': Node.Op<'str.startsWith'>;coreOps.'str.endsWith'const · packages/metakit/src/ops/str.ts:67
endsWith': Node.Op<'str.endsWith'>;coreOps.'str.contains'const · packages/metakit/src/ops/str.ts:75
contains': Node.Op<'str.contains'>;coreOps.'arr.count'const · packages/metakit/src/ops/arrOps.ts:12
count': Node.Op<'arr.count'>;coreOps.'arr.isEmpty'const · packages/metakit/src/ops/arrOps.ts:20
isEmpty': Node.Op<'arr.isEmpty'>;coreOps.'arr.has'const · packages/metakit/src/ops/arrOps.ts:43
has': Node.Op<'arr.has'>;coreOps.'arr.append'const · packages/metakit/src/ops/arrOps.ts:87
append': Node.Op<'arr.append'>;arr.append(list, element): the list with the element at the end. Called
as arr.append(list, fields, ...values) the element is the record of
those fields to those values, each field a [name, option] pair: where
option is true the element's Schema holds it as an Effect Option, which
takes the value as some and null as none. A null list gives null; a null
element is appended as it is, since a list may hold null.
coreOps.'arr.include'const · packages/metakit/src/ops/arrOps.ts:196
include': Node.Op<'arr.include'>;coreOps.'arr.exclude'const · packages/metakit/src/ops/arrOps.ts:197
exclude': Node.Op<'arr.exclude'>;coreOps.'arr.move'const · packages/metakit/src/ops/arrOps.ts:206
move': Node.Op<'arr.move'>;arr.move(list, keyField, keyValue, toIndex): move every element whose
elem[keyField] equals keyValue (an Option field reads as its value) as
one block, in their order, to toIndex of the list without them (clamped to
[0, rest.length]). Returns list unchanged (preserving identity) when no
element matches or the block is already there, so move is idempotent.
coreOps.'arr.at'const · packages/metakit/src/ops/arrIndex.ts:51
at': Node.Op<'arr.at'>;arr.at(list, index): the element at index of list, counted from 0,
read as a path reads one (an Option element is its value or null); null
where the list holds no element there (a negative index or one past the
end), where either operand is null, or where the element is null.
coreOps.'arr.with'const · packages/metakit/src/ops/arrIndex.ts:74
with': Node.Op<'arr.with'>;arr.with(list, index, value): the list with its element at index
replaced by value (which may be null: a list may hold one), the list
itself where that element is value already. Null where the list or the
index is; refused where the index names no element of the list, since no
element is there to replace.
coreOps.'set.union'const · packages/metakit/src/ops/set.ts:96
union': Node.Op<'set.union'>;coreOps.'set.intersect'const · packages/metakit/src/ops/set.ts:109
intersect': Node.Op<'set.intersect'>;coreOps.'set.difference'const · packages/metakit/src/ops/set.ts:123
difference': Node.Op<'set.difference'>;coreOps.'rec.make'const · packages/metakit/src/ops/rec.ts:26
make': Node.Op<'rec.make'>;rec.make(fields, ...values): the record of those fields to those values,
each field a [name, option] pair as arr.append takes them: where
option is true the Schema holds the field as an Effect Option, which
takes the value as some and null as none. A refused value refuses the
record; a null value is held as it is, for the Schema to take or refuse.