From 6676ba378125cd6dc83b3ec4feb64927da4831dc Mon Sep 17 00:00:00 2001 From: Christiaan Landman Date: Mon, 2 Dec 2024 14:17:13 +0200 Subject: [PATCH] Added minor description for Drizzle being subject to same table constraint limitations as underlying PowerSync schema. --- .../javascript-web/javascript-orm/drizzle.mdx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/client-sdk-references/javascript-web/javascript-orm/drizzle.mdx b/client-sdk-references/javascript-web/javascript-orm/drizzle.mdx index 3898d000..ffc8a44b 100644 --- a/client-sdk-references/javascript-web/javascript-orm/drizzle.mdx +++ b/client-sdk-references/javascript-web/javascript-orm/drizzle.mdx @@ -219,4 +219,11 @@ For watched queries with Drizzle it's recommended to use the `watch()` function // 'James Smith' ``` - \ No newline at end of file + + +## Developer Notes + +### Table Constraint Restrictions + +The Drizzle ORM relies on the underlyng PowerSync table definitions which are subject to certain limitations. +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.