Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/cotton/src/querybuilder.ts>QueryBuilder#toSQL

SQL Database Toolkit for Deno
Latest
method QueryBuilder.prototype.toSQL
import { QueryBuilder } from "https://deno.land/x/cotton@v0.7.5/src/querybuilder.ts";

Get the actual SQL query string. All the data are replaced by a placeholder. So, you need to also bind the values in order to execute the query.