Open cloutiertyler opened 2 months ago
I will also note, that we should probably move away from the Player::
syntax as this does not allow for the same type to be used by multiple tables.
as this does not allow for the same type to be used by multiple tables.
Not sure what you mean.
I mean we should be able to have a SignedInPlayer
table and SignedOutPlayer
table that both use the same Rust struct type:
struct Player {
}
I am moving this to be a P2 for 1.0 because with @joshua-spacetime's proposal for the physical index access methods we no longer need a LINQ plan for 1.0 and further more Phoebe should describe the entire surface area of the API here:
https://github.com/clockworklabs/SpacetimeDBPrivate/pull/866
All types of queries should look the same:
And this should have some kind of LINQ syntax which generates a query datastructure/representation of the query which gets passed to spacetimedb to be executed.
For example see the following pseudocode/temporary syntax for the idea