sekejap.record.create --table TEXT [--record JSON…] [--edge JSON…] [--key TEXT] [--max-items N] → recordWrite records (and optional graph edges) into a Sekejap table, as one commit. --record takes the records themselves — one {{ expr }} that is a list (--record "{{ input.items }}"), or repeated for single items — each { key, fields: { … } }, its key at --key (default key). They are written typed against the table's declared columns into --table — the table must already exist (CREATE TABLE), a VECTOR(n) field must have exactly n numbers. --edge takes edges the same way, each { from: { target, key }, type, to: { target, key }, fields? }; both endpoints must exist, in this batch or before it, and an edge whose type is an edge table's label is written into that table. --max-items (default 1000, at most 10000) is the ceiling on records and edges together. Adds record: { created, edges, table } and keeps the rest of the payload. For one row from a form use sekejap.query.run --write … INSERT; this node is for imports and seeds.
Flags
--table(required): The Sekejap table the records go into.--record: Records to write, each { key, fields }: one {{ expr }} that is a list, or repeated for single records.--edge: Edges to write, each { from: { target, key }, type, to: { target, key }, fields? }: one {{ expr }} list, or repeated.--key: The field inside each record that holds its key, a dot path (default: key).--max-items: Most records and edges together in one run (default: 1000, at most 10000).
Examples
Seed from a prepared list
| sekejap.record.create --table products --record "{{ input.items }}"Input:
{ "items": [ { "key": "sku-1", "fields": { "name": "Mug", "price": 12 } } ]}It answers:
{ "items": [ { "key": "sku-1", "fields": { "name": "Mug", "price": 12 } } ], "record": { "created": 1, "edges": 0, "table": "products" }}