view, views

view

Expression defining a view

Syntax: view x, view[x]

Where x is a view (by reference), returns the expression defining x.

q)v::2+a*3                        / define dependency v
q)a:5
q)v
17
q)view `v                         / view the dependency expression
"2+a*3"

views

List views defined in the default namespace

Syntax: views[]

Returns a sorted list of the views currently defined in the default namespace.

q)w::b*10
q)v::2+a*3
q)views[]
`s#`v`w

Basics: Metadata
Tutorials: Views