Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 577 Bytes

File metadata and controls

16 lines (12 loc) · 577 Bytes
@evolu/common major

Replaced evolu.createQuery with standalone createQueryBuilder function

Queries are now created using a standalone createQueryBuilder function instead of evolu.createQuery method. This enables query creation without an Evolu instance, improving code organization and enabling schema-first development.

// Before
const todosQuery = evolu.createQuery((db) => db.selectFrom("todo").selectAll());

// After
const createQuery = createQueryBuilder(Schema);
const todosQuery = createQuery((db) => db.selectFrom("todo").selectAll());