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

Bun · Runtime · all subjects

sqlite

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

Bun SQL features overview

Bun SQL client features: Tagged template literals against SQL injection, Transactions, Named & positional parameters, Connection pooling, BigInt support, SASL (SCRAM-SHA-256), MD5, Clear Text authentication, Connection timeouts, Returning rows as objects/arrays of arrays/Buffer, Binary protocol for performance, TLS support, Automatic environment variable configuration, PostgreSQL LISTEN/NOTIFY.

Why Bun.sql instead of Bun.postgres

Bun.sql is named as such because the plan was to add more database drivers. The unified API now supports PostgreSQL, MySQL, and SQLite.

Determine active database adapter

Bun auto-detects the adapter from the connection string: URLs starting with mysql:// or mysql2:// use MySQL. URLs matching SQLite patterns (:memory:, sqlite://, file://) use SQLite. Everything else defaults to PostgreSQL.

Give your agent this brain