Internal class. A builder for composing queries using the fql tagged template function
The expected type of the response from Fauna when evaluated. T can be used to infer the type of the response type from Client methods.
Rest
Converts this Query to an FQLFragment you can send to Fauna.
a FQLFragment.
const num = 8; const queryBuilder = fql`'foo'.length == ${num}`; const queryRequest = queryBuilder.toQuery(); // produces: { fql: ["'foo'.length == ", { value: { "@int": "8" } }, ""] } Copy
const num = 8; const queryBuilder = fql`'foo'.length == ${num}`; const queryRequest = queryBuilder.toQuery(); // produces: { fql: ["'foo'.length == ", { value: { "@int": "8" } }, ""] }
Internal class. A builder for composing queries using the fql tagged template function