You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Standard projected results are a seq of vectors, with the seq having metadata describing the column names for all of the vectors. These columns are named according the the variables that they are bound to, or for aggregate columns, a combination of the aggregate term and the variable it is evaluated on.
The :as keyword can be used after any element in the :find expression to rename the column.
Note: The :find expression may also contain constants. Check if these are correctly appearing in the cols array. For instance:
[:find ?x :data ?y :where ...]
Should return a seq with metadata of {:cols [?x :data ?y]}
Similarly:
[:find ?x :data :as ?z ?y :where ...]
Should return a seq with metadata of {:cols [?x ?z ?y]}
The text was updated successfully, but these errors were encountered:
Depends on #191 being complete.
Standard projected results are a seq of vectors, with the seq having metadata describing the column names for all of the vectors. These columns are named according the the variables that they are bound to, or for aggregate columns, a combination of the aggregate term and the variable it is evaluated on.
The
:as
keyword can be used after any element in the:find
expression to rename the column.Note: The
:find
expression may also contain constants. Check if these are correctly appearing in the cols array. For instance:[:find ?x :data ?y :where ...]
Should return a seq with metadata of
{:cols [?x :data ?y]}
Similarly:
[:find ?x :data :as ?z ?y :where ...]
Should return a seq with metadata of
{:cols [?x ?z ?y]}
The text was updated successfully, but these errors were encountered: