@type32/tauri-sqlite-orm 0.1.5 → 0.1.6
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 +14 -6
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -56,6 +56,20 @@ const res = await db.query.users.findMany({
|
|
|
56
56
|
});
|
|
57
57
|
```
|
|
58
58
|
|
|
59
|
+
### Documentation
|
|
60
|
+
|
|
61
|
+
- See full docs in `docs/`:
|
|
62
|
+
- Getting Started: `docs/getting-started.md`
|
|
63
|
+
- Schema & Types: `docs/schema-and-types.md`
|
|
64
|
+
- Relations: `docs/relations.md`
|
|
65
|
+
- Queries (select): `docs/queries-select.md`
|
|
66
|
+
- CRUD (insert): `docs/crud-insert.md`
|
|
67
|
+
- CRUD (update): `docs/crud-update.md`
|
|
68
|
+
- CRUD (delete): `docs/crud-delete.md`
|
|
69
|
+
- SQL Helpers: `docs/sql-helpers.md`
|
|
70
|
+
- Indexes & Constraints: `docs/indexes-constraints.md`
|
|
71
|
+
- Migrations: `docs/migrations.md`
|
|
72
|
+
|
|
59
73
|
### Schema builder
|
|
60
74
|
|
|
61
75
|
Chainable, Drizzle-style:
|
|
@@ -236,12 +250,6 @@ export default defineNuxtPlugin(async () => {
|
|
|
236
250
|
});
|
|
237
251
|
```
|
|
238
252
|
|
|
239
|
-
### Roadmap
|
|
240
|
-
|
|
241
|
-
- Aliasing helpers and typed orderBy (asc(users.id)) for findMany
|
|
242
|
-
- Unique(), check(), composite primary/unique constraints
|
|
243
|
-
- Insert returning / batch returning (where feasible)
|
|
244
|
-
|
|
245
253
|
### License
|
|
246
254
|
|
|
247
255
|
MIT
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@type32/tauri-sqlite-orm",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"description": "A Drizzle-like ORM for Tauri v2's SQL JS API plugin.",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"drizzle"
|
|
27
27
|
],
|
|
28
28
|
"author": "Type-32",
|
|
29
|
-
"license": "
|
|
29
|
+
"license": "MIT",
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@types/node": "^24.3.0",
|
|
32
32
|
"tsup": "^8.5.0",
|