select
Create a SELECT statement instance that you can use further (e.g. calling the from() function) to construct the complete query statement.
Commonly used for select(Meta.id)
to get a document's ID, or other metadata or expressions.
SELECT Meta().id
Return
A Select object.
Parameters
The expressions for specifying the returned values.
Create a SELECT statement instance that you can use further (e.g. calling the from() function) to construct the complete query statement.
Commonly used for select(Meta.id, "foo", "bar")
to get a document's ID along with a set of fields.
SELECT Meta().id, foo, bar
Return
A Select object.
Parameters
An expression for specifying the returned value.
Properties for specifying the returned values.
Create a SELECT statement instance that you can use further (e.g. calling the from() function) to construct the complete query statement.
Commonly used for select(Meta.id, all())
to get all of the document, including ID.
SELECT Meta().id, *
Return
A Select object.
Parameters
An expression for specifying the returned value.
The SelectResult objects for specifying the returned values.
Create a SELECT statement instance that you can use further (e.g. calling the from() function) to construct the complete query statement.
Return
A Select object.
Parameters
The SelectResult objects for specifying the returned values.
Create a SELECT statement instance that you can use further (e.g. calling the from() function) to construct the complete query statement.
Return
A Select object.
Parameters
The properties for specifying the returned values.