Skip to content

Commit eb2cddd

Browse files
committed
tweak README.md
1 parent af15e17 commit eb2cddd

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -117,11 +117,11 @@ Zen is the missing link between SQL and typed data. By writing tables with Zod s
117117
### What Zen is not:
118118
- **Zen is not a query builder** — Rather than using a fluent query builder interface (`.where().orderBy().limit()`), Zen uses explicit SQL tagged template functions instead
119119
```typescript
120-
db.all(Posts)`
121-
WHERE ${Posts.cols.published} = ${true}
122-
ORDER BY ${Posts.cols.publishDate} DESC
123-
LIMIT 20
124-
`;
120+
db.all(Posts)`
121+
WHERE ${Posts.cols.published} = ${true}
122+
ORDER BY ${Posts.cols.publishDate} DESC
123+
LIMIT 20
124+
`;
125125
```.
126126
- **Zen is not an ORM** — Tables are not classes, they are Zod-powered singletons which provide schema-aware SQL-fragment helpers. These tables can be passed to CRUD helpers to validate writes, generate DDL, and normalize joined data into an object graph.
127127
- **Zen is not a startup** — Zen is an open-source library, not a venture-backed SaaS. There will never be a managed “ZenDB” instance or a “Zen Studio.” The library is a thin wrapper around Zod and JavaScript SQL drivers, with a focus on runtime abstractions rather than complicated tooling.

0 commit comments

Comments
 (0)