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

Method create_table_for_test

crates/engine/src/relational_db.rs:1215–1222  ·  view source on GitHub ↗
(
        &self,
        name: &str,
        schema: &[(&'static str, AlgebraicType)],
        indexes: &[ColId],
    )

Source from the content-addressed store, hash-verified

1213 }
1214
1215 pub fn create_table_for_test(
1216 &self,
1217 name: &str,
1218 schema: &[(&'static str, AlgebraicType)],
1219 indexes: &[ColId],
1220 ) -> Result<TableId, DBError> {
1221 self.create_table_for_test_with_access(name, schema, indexes, StAccess::Public)
1222 }
1223
1224 pub fn create_table_for_test_multi_column(
1225 &self,

Callers 15

create_table_tFunction · 0.80
test_rls_rulesFunction · 0.80
test_nested_rls_rulesFunction · 0.80
test_project_joinFunction · 0.80
test_view_join_tableFunction · 0.80
test_row_limitFunction · 0.80
test_row_dmlFunction · 0.80
create_table_with_indexFunction · 0.80

Tested by 15

test_rls_rulesFunction · 0.64
test_nested_rls_rulesFunction · 0.64
test_project_joinFunction · 0.64
test_view_join_tableFunction · 0.64
test_row_limitFunction · 0.64
test_row_dmlFunction · 0.64
test_subscribe_metricsFunction · 0.64
test_rls_subscriptionFunction · 0.64