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

Method Where

crates/bindings-csharp/BSATN.Runtime/QueryBuilder.cs:211–212  ·  view source on GitHub ↗
(Func<TCols, TPredicate> predicate)

Source from the content-addressed store, hash-verified

209 public string ToSql() => $"SELECT * FROM {SqlFormat.QuoteIdent(tableName)}";
210
211 public FromWhere<TRow, TCols, TIxCols> Where<TPredicate>(Func<TCols, TPredicate> predicate) =>
212 new(this, QueryPredicate.ToBoolExpr<TRow>(predicate(cols)!));
213
214 public FromWhere<TRow, TCols, TIxCols> Where<TPredicate>(
215 Func<TCols, TIxCols, TPredicate> predicate

Calls

no outgoing calls

Tested by 4

CheckCacheWorkingMethod · 0.36
GetCompilationErrorsMethod · 0.36