Skip to content

Support multiple models with live queries - #2812

Draft
chgeo wants to merge 3 commits into
cql-livefrom
cql-live-isolation
Draft

Support multiple models with live queries#2812
chgeo wants to merge 3 commits into
cql-livefrom
cql-live-isolation

Conversation

@chgeo

@chgeo chgeo commented Aug 10, 2026

Copy link
Copy Markdown
Member

Use worker threads to isolate diverging/conflicting models like the one in cql.md:

  • Models are registered ad-hoc with cds [MyModel]
  • Each cds live [MyModel] block loads the Nodejs stack, incl. vite-plugin-cds and the SQLite in-mem DB, in a dedicated worker thread. Workers for the same model are cached.
  • Sample data can be supplied with csv hidden [FooBarData: data/...csv] and referenced with cds [data: FooBarData].
  • The data is shown as separate tabs next to the model when pressing the Show CDS model button.

@chgeo chgeo changed the title Support multiple models Support multiple models with live queries Aug 10, 2026
@chgeo
chgeo force-pushed the cql-live-isolation branch from 0629051 to 7eb5883 Compare August 11, 2026 11:30
@chgeo
chgeo force-pushed the cql-live-isolation branch from 7eb5883 to 385d90b Compare August 11, 2026 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant