Patch Changes
-
Added support for tracking collection operation metadata in PowerSync CrudEntry operations. (#999)
// Schema config const APP_SCHEMA = new Schema({ documents: new Table( { name: column.text, created_at: column.text, }, { // Metadata tracking must be enabled on the PowerSync table trackMetadata: true, }, ), }) // ... Other config // Collection operations which specify metadata await collection.insert( { id, name: `document`, }, // The string version of this will be present in PowerSync `CrudEntry`s during uploads { metadata: { extraInfo: 'Info', }, }, )
-
Updated dependencies [
f795a67,d542667,6503c09,b1cc4a7]:- @tanstack/db@0.5.17