Bun

interface

SQL.Helper

interface Helper<T>

SQL.Helper represents a parameter or serializable value inside of a query.

const helper = sql(users, 'id');
await sql`insert into users ${helper}`;