webql
Copy MarkdownTypes
Webql
pub type Webql(task, storage) {
Webql(
memory: memory.Memory(storage),
engine: engine.Engine(
task,
memory.Memory(storage),
diagnostic.Diagnostic,
),
)
}Webql(
memory: memory.Memory(storage),
engine: engine.Engine(
task,
memory.Memory(storage),
diagnostic.Diagnostic,
),
)Values
introspect
pub fn introspect(
schema: schema.Schema(task),
) -> introspection.SchemaReturns introspection results for a WebQL schema.
new
pub fn new(
memory: memory.Memory(storage),
engine: engine.Engine(
task,
memory.Memory(storage),
diagnostic.Diagnostic,
),
) -> Webql(task, storage)Creates a new WebQL instance.
run
pub fn run(
webql: Webql(task, storage),
source: String,
schema: schema.Schema(task),
params: dynamic.Dynamic,
) -> taskRuns a WebQL source against a schema.