
ALT bun:sqlite Database .as(Class) parses boolean as number (does not honor type) #13737 2.1. Boolean Datatype SQLite does not have a separate Boolean storage class. Instead, Boolean values are stored as integers 0 (false) and 1 (true). SQLite recognizes the keywords "TRUE" and "FALSE", as of version 3.23.0 (2018-04-02) but those keywords are really just alternative spellings for the integer literals 1 and 0 respectively.

ALT const cluster = require('node:cluster'); if (cluster.isPrimary) { console.log(`Primary ${process.pid} is running`); // Fork workers. for (let i = 0; i < navigator.hardwareConcurrency / 3; i++) { cluster.fork(); } cluster.on('exit', (worker, code, signal) => { console.log(`worker ${worker.process.pid} died`); }); } else { Bun.serve({ port: 3000, fetch(req) { return new Response("hello!"); } }); console.log(`Worker ${process.pid} started`); } ❯ oha http://localhost:3000 -n 10000000 -c 350 Summary: Success rate: 100.00% Total: 7.7031 secs Slowest: 0.1603 secs Fastest: 0.0000 secs Average: 0.0003 secs Requests/sec: 1298175.1043 Total data: 57.22 MiB Size/request: 6 B Size/sec: 7.43 MiB
















