SpacetimeDB icon indicating copy to clipboard operation
SpacetimeDB copied to clipboard

PrimaryKey implementation should use client side indexes

Open bfops opened this issue 11 months ago • 1 comments

Right now clients determine if rows match by calling a primary key compare func which just compares values in AlgebraicValue. Once we have client side indexes, we should just lookup the new value using the index to determine whether or not the current insert was an update.

Done for C# but not Typescript, Rust, Python

bfops avatar Jan 13 '25 19:01 bfops

I think we may have other tickets for this? I think we've worked on this.

bfops avatar Jan 13 '25 19:01 bfops

There is for TypeScript I believe #1387

Zhincore avatar Jun 07 '25 09:06 Zhincore