SpacetimeDB icon indicating copy to clipboard operation
SpacetimeDB copied to clipboard

Implemented one-off query support for TypeScript SDK

Open egormanga opened this issue 5 months ago • 2 comments

Description of Changes

Was necessary (at least) because of #1599.

API and ABI breaking changes

None(?)

Needs docs, that's for certain.

Expected complexity level and risk

4:

Doesn't seem to break anything, but who knows. I'm not sure about this one.

Also, performance impact? It should only get better, but again I have no info on that.

Testing

  • [x] Manual testing
  • [x] Use case fit
  • [ ] Unit tests

egormanga avatar Jul 19 '25 21:07 egormanga

It turned out to be a really convenient implementation of an async ctx.table.remoteQuery() using the builder I already implemented. Done just that.

egormanga avatar Jul 22 '25 02:07 egormanga

@jsdt Hey! Any luck getting an eye on this? I really wish to see it upstreamed :)

egormanga avatar Oct 14 '25 12:10 egormanga

Updated for the new TS SDK :)

egormanga avatar Nov 22 '25 07:11 egormanga

@jsdt Hi! Thank you for finally carving some time to have a look at this!

I can rebase instead, if that's necessary for getting this merged. That's what I often do regardless :>

Please let me know if there may any additional issues be.

egormanga avatar Nov 25 '25 09:11 egormanga