new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

Drizzle · PostgreSQL · all subjects

drizzle-core

66 notes in this subject, read out of this brain and free to use. This is page 2 of 2.

getTableColumns replaced by getColumns in v1.0

The `getTableColumns()` function from drizzle-orm has been deprecated in v1.0. Users must use `getColumns()` instead to retrieve columns from a table definition.

JIT Mappers opt-in feature in v1.0

Just-in-time compiled row mappers have been added as an opt-in feature in v1.0 that make mapping as fast as raw driver performance. Enable with `const db = drizzle({ ..., jit: true })`.

New MSSQL dialect in v1.0

Drizzle ORM v1.0 adds support for a new MSSQL dialect, enabling SQL Server database compatibility.

New CockroachDB dialect in v1.0

Drizzle ORM v1.0 adds support for a new CockroachDB dialect.

New NetlifyDB driver in v1.0

Drizzle ORM v1.0 adds support for a new NetlifyDB driver. The Netlify Database driver is developed and maintained by the Netlify team.

defineRelations() API example for v1.0

Example of the new v1.0 Relational Queries API using `defineRelations()`: `import { defineRelations } from 'drizzle-orm'; const relations = defineRelations(schema, (r) => ({ users: { posts: r.many.posts(), profile: r.one.profiles(), }, posts: { author: r.one.users({ from: posts.authorId, to: users.id, }), }, }));`

Give your agent this brain