MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / Query

Interface Query

crates/query-builder/src/lib.rs:14–16  ·  view source on GitHub ↗

Trait implemented by all query builder types. Use `impl Query ` as a return type for view functions and helpers.

Source from the content-addressed store, hash-verified

12/// Trait implemented by all query builder types. Use `impl Query<T>` as a
13/// return type for view functions and helpers.
14pub trait Query<T> {
15 fn into_sql(self) -> String;
16}
17
18/// The concrete SQL query produced by calling `.build()` on a builder.
19pub struct RawQuery<T> {

Callers 2

publishFunction · 0.85
exe_sqlMethod · 0.85

Implementers 3

lib.rscrates/query-builder/src/lib.rs
join.rscrates/query-builder/src/join.rs
table.rscrates/query-builder/src/table.rs

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…