peta-orm 0.1.2 → 0.1.3
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 +5 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -276,7 +276,7 @@ bun run examples/07-soft-deletes.ts
|
|
|
276
276
|
| 02 | [model-definition](./examples/02-model-definition.ts) | Columns, types, modifiers, timestamps |
|
|
277
277
|
| 03 | [crud](./examples/03-crud.ts) | insert, find, update, delete, paginate |
|
|
278
278
|
| 04 | [relations](./examples/04-relations.ts) | HasMany, BelongsTo, HasOne, eager loading |
|
|
279
|
-
| 05 | [query-builder](./examples/05-query-builder.ts) | where, orderBy, join, has, count |
|
|
279
|
+
| 05 | [query-builder](./examples/05-query-builder.ts) | where, orderBy, join, has, whereHas, whereDoesntHave, count |
|
|
280
280
|
| 06 | [hooks-timestamps](./examples/06-hooks-timestamps.ts) | beforeCreate, afterCreate, registerTimestamps |
|
|
281
281
|
| 07 | [soft-deletes](./examples/07-soft-deletes.ts) | $delete, $restore, $forceDelete, withTrashed |
|
|
282
282
|
| 08 | [collection-paginator](./examples/08-collection-paginator.ts) | Collection, Paginator |
|
|
@@ -288,6 +288,10 @@ bun run examples/07-soft-deletes.ts
|
|
|
288
288
|
| 14 | [global-scopes](./examples/14-global-scopes.ts) | addGlobalScope(), withoutGlobalScope() |
|
|
289
289
|
| 15 | [batch](./examples/15-batch.ts) | insertMany, insertMany() |
|
|
290
290
|
| 16 | [discover](./examples/16-discover.ts) | peta.discover(), rest params |
|
|
291
|
+
| 17 | [instance-methods](./examples/17-instance-methods.ts) | fill, dirty, reset, $reload, $load, $relatedQuery |
|
|
292
|
+
| 18 | [advanced-queries](./examples/18-advanced-queries.ts) | groupBy/having, sum/avg/min/max, chunk, toSQL, updateMany |
|
|
293
|
+
| 19 | [collections-deep](./examples/19-collections-deep.ts) | full Collection + Paginator API |
|
|
294
|
+
| 20 | [advanced-relations](./examples/20-advanced-relations.ts) | HasManyThrough, polymorphic morphs, pivot extras |
|
|
291
295
|
|
|
292
296
|
---
|
|
293
297
|
|