import baseSql from "@databases/sql";
import { escapeSQLiteIdentifier } from "@databases/escape-identifier";
const sqliteFormat = {
  escapeIdentifier: (str) => escapeSQLiteIdentifier(str),
  formatValue: (value) => ({ placeholder: "?", value })
};
function compile(sql2) {
  return sql2.format(sqliteFormat).text;
}
function format(sql2) {
  return sql2.format(sqliteFormat);
}
const sql = baseSql.default;
export {
  compile,
  format,
  sql
};
//# sourceMappingURL=sql.js.map
