If I run the following sqlite will auto increment a user id for me.
Now how do I get back that id using bun:sqlite?
import { Database } from 'bun:sqlite';
const database = new Database(':memory:');
database.run('create table user (id integer not null unique primary key, username varchar(32) not null unique);');
const user = database.run(`insert into user (username) values ('simylein');`);
// get access to the created user id somehow?
console.log(user?.id); // undefined
const users = database.prepare('select * from user;').all();
console.log(users); // [{id:1, username:'simylein'}]