@anfenn/dync 1.0.9 → 1.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -37,9 +37,9 @@ And see how Dync compares to the alternatives [below](#hasnt-this-already-been-d
37
37
  ```js
38
38
  db.query(async (ctx) => {
39
39
  if (ctx instanceof DexieQueryContext) {
40
- return await ctx.table('items').where('value').equals('dexie-test');
40
+ return await ctx.table('items').where('value').startsWithIgnoreCase('dexie').toArray();
41
41
  } else if (ctx instanceof SqliteQueryContext) {
42
- return await ctx.queryRows('SELECT * FROM items WHERE value = ?', ['sqlite-test']);
42
+ return await ctx.queryRows('SELECT * FROM items WHERE value LIKE ? COLLATE NOCASE', ['sqlite%']);
43
43
  }
44
44
  });
45
45
  ```
@@ -3771,4 +3771,4 @@ export {
3771
3771
  SqliteQueryContext,
3772
3772
  SQLiteAdapter2 as SQLiteAdapter
3773
3773
  };
3774
- //# sourceMappingURL=chunk-MOYMEJP5.js.map
3774
+ //# sourceMappingURL=chunk-6B5N26W3.js.map