>> q)`:/db/data/ set ([] nodeid:12345; object:`$"hithere" ti:09:30:00)
>> `rank
>
> your syntax stinks.
>
> ([]nodeid:enlist 12345; object:enlist`$"hithere";ti:enlist 09:30:00)
actually q will vector-extend any atoms in a table literal, as long as there's at least one actual vector to give the count
q)([]nodeid:enlist 12345;object:`hithere;ti:09:30:00)
nodeid object ti
-----------------------
12345 hithere 09:30:00
q)([]nodeid:12345;object:enlist`hithere;ti:09:30:00)
nodeid object ti
-----------------------
12345 hithere 09:30:00
q)([]nodeid:12345;object:`hithere;ti:enlist 09:30:00)
nodeid object ti
-----------------------
12345 hithere 09:30:00
q)
(in a keyed table, there must be at least one vector in the keys and one in the values:
q)([nodeid:12345;nodetype:1]object:enlist`hithere;ti:09:30:00)
'rank
q)([nodeid:enlist 12345;nodetype:1]object:enlist`hithere;ti:09:30:00)
nodeid nodetype| object ti
---------------| ----------------
12345 1 | hithere 09:30:00
q)
)