You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CLAUDE.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -267,6 +267,20 @@ const result = await pool.query('SELECT * FROM users');
267
267
**ORM Integration:**
268
268
Works with Drizzle, Sequelize, TypeORM - see the `@databricks/lakebase` README and `apps/dev-playground/server/lakebase-examples/` for examples.
269
269
270
+
### Database Plugin
271
+
272
+
Application-level layer over Lakebase (beta). Owns schema declaration, type generation, drift detection, auto-mounted CRUD routes, and a typed `db` browser client — all driven by `config/database/schema.ts`. See [`docs/docs/plugins/database.md`](./docs/docs/plugins/database.md) for the full guide.
273
+
274
+
```typescript
275
+
import { createApp, server } from'@databricks/appkit';
Copy file name to clipboardExpand all lines: docs/docs/plugins/database.md
+92-29Lines changed: 92 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,13 +4,20 @@ sidebar_position: 4
4
4
5
5
# Database plugin (beta)
6
6
7
+
<!-- AUTO-GENERATED: stability-banner-start -->
8
+
:::warning Beta plugin
9
+
This plugin is currently **beta**. APIs may change between minor releases. Import from `@databricks/appkit/beta`. See [Plugin Stability Tiers](./stability.md).
10
+
:::
11
+
<!-- AUTO-GENERATED: stability-banner-end -->
12
+
7
13
The **database plugin** is the application-level layer over Lakebase. It owns
8
14
schema declaration, type generation, drift detection, auto-mounted CRUD
9
15
routes, and a typed `db` browser client — all driven by a single
10
16
`config/database/schema.ts`.
11
17
12
18
> **Beta:** the manifest declares `stability: "beta"`. The CLI and runtime
13
19
> APIs are stable enough for non-critical workloads but may change before GA.
20
+
> See [Known limitations](#known-limitations-beta) for what is not yet covered.
0 commit comments