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

Method append

crates/execution/src/lib.rs:314–322  ·  view source on GitHub ↗

Append a [Row] to a tuple

(self, ptr: Row<'a>)

Source from the content-addressed store, hash-verified

312
313 /// Append a [Row] to a tuple
314 fn append(self, ptr: Row<'a>) -> Self {
315 match self {
316 Self::Row(row) => Self::Join(vec![row, ptr]),
317 Self::Join(mut rows) => {
318 rows.push(ptr);
319 Self::Join(rows)
320 }
321 }
322 }
323
324 fn join(self, with: Self) -> Self {
325 match with {

Callers 1

joinMethod · 0.45

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected