Skip to content

Commit dcef4e9

Browse files
authored
Added minor description for Drizzle being subject to same table constraint limitations as underlying PowerSync schema. (#45)
1 parent bc65edc commit dcef4e9

File tree

1 file changed

+8
-1
lines changed
  • client-sdk-references/javascript-web/javascript-orm

1 file changed

+8
-1
lines changed

client-sdk-references/javascript-web/javascript-orm/drizzle.mdx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,4 +219,11 @@ For watched queries with Drizzle it's recommended to use the `watch()` function
219219
// 'James Smith'
220220

221221
```
222-
</CodeGroup>
222+
</CodeGroup>
223+
224+
## Developer Notes
225+
226+
### Table Constraint Restrictions
227+
228+
The Drizzle ORM relies on the underlyng PowerSync table definitions which are subject to certain limitations.
229+
This means that most Drizzle [constraint features](https://orm.drizzle.team/docs/indexes-constraints) (such as cascading deletes, foreign checks, unique) are currently not supported.

0 commit comments

Comments
 (0)