Send Feedback
Skip to content

tables

List of tables in a namespace

tables x    tables[x]

Where x is a reference to a namespace, returns as a symbol vector a sorted list of the tables in x

q)([getInMemoryTables; buildPersistedDB]): use `kx.datagen.capmkts
q)(trade; quote; nbbo; master; exnames): getInMemoryTables[]

q)tables `.         / tables in root namespace
`master`nbbo`quote`trade
q)tables[]          / default is root namespace
`master`nbbo`quote`trade
q).work.trade:trade / assign table in work namespace
q)tables `.work     / tables in work
,`trade

Metadata