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

Method read_col

crates/table/src/table.rs:1806–1808  ·  view source on GitHub ↗
(self, col: impl Into<ColId>)

Source from the content-addressed store, hash-verified

1804 /// and read the value of that column from `self`.
1805 #[inline]
1806 pub fn read_col<T: ReadColumn>(self, col: impl Into<ColId>) -> Result<T, TypeError> {
1807 T::read_column(self, col.into().idx())
1808 }
1809
1810 /// Serializes the `cols` of `self` using `ser`.
1811 ///

Callers 15

read_identity_from_colFunction · 0.80
read_hash_from_colFunction · 0.80
read_table_idMethod · 0.80
get_all_tables_txMethod · 0.80
build_missing_tablesMethod · 0.80
get_table_idMethod · 0.80
table_id_from_nameMethod · 0.80
create_tableMethod · 0.80
insert_into_st_viewMethod · 0.80
view_id_from_nameMethod · 0.80
table_id_from_nameMethod · 0.80
table_name_from_idMethod · 0.80

Calls 1

idxMethod · 0.45

Tested by

no test coverage detected