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

Method GetTables

sdks/csharp/src/SpacetimeDBClient.cs:312–325  ·  view source on GitHub ↗
(IEnumerable<TableUpdate> updates)

Source from the content-addressed store, hash-verified

310 static BsatnRowList EmptyRowList() => new(new RowSizeHint.RowOffsets(new()), new());
311
312 IEnumerable<(IRemoteTableHandle, TableUpdate)> GetTables(IEnumerable<TableUpdate> updates)
313 {
314 foreach (var update in updates)
315 {
316 var tableName = update.TableName;
317 var table = Db.GetTable(tableName);
318 if (table == null)
319 {
320 Log.Error($"Unknown table name: {tableName}");
321 continue;
322 }
323 yield return (table, update);
324 }
325 }
326
327 ParsedDatabaseUpdate ParseSubscribeRows(QueryRows queryRows)
328 {

Callers 1

Calls 2

GetTableMethod · 0.45
ErrorMethod · 0.45

Tested by

no test coverage detected