can I create trigger functions in D1 ? For example, I need to auto update a counter in table B when
can I create trigger functions in D1 ? For example, I need to auto update a counter in table B when there is a new insert in table A

app.get('/posts/:lang/:slug/comments', async c => {
const { results } = await c.env.comDB.prepare();
return c.text(results, 200);
}
—local flag
.all() at the end of your prepare in order to use the statementError: D1_TYPE_ERROR: Type 'boolean' not supported for value 'true'email_verified BOOLEAN DEFAULT 0,true use 1 for your SQL querymigrations directory?db, the complete location being ./db/migrationsapp.get('/posts/:lang/:slug/comments', async c => {
const { results } = await c.env.comDB.prepare();
return c.text(results, 200);
}—localError: D1_TYPE_ERROR: Type 'boolean' not supported for value 'true'email_verified BOOLEAN DEFAULT 0,migrationsdb./db/migrationsmigrations_dir = "db/migrations"