.Q.id x
Where x is
a symbol atom, returns x with items sanitized to valid q names
q).Q.id each `$("ab";"a/b";"two words";"2drifters";"2+2")
`ab`ab`twowords`a2drifters`a22
a table, returns x with column names sanitized by removing characters that
interfere with select/exec/update and adding "1" to column names which clash with
commands in the .q namespace. (Updated in V3.2 to include .Q.res for checking
collisions.)
q).Q.id flip (5#.Q.res)!(5#())
in1 within1 like1 bin1 binr1
----------------------------
q).Q.id flip(`$("a";"a/b"))!2#()
a ab
----