Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/cotton/deps.ts>MysqlClient#query

SQL Database Toolkit for Deno
Latest
method MysqlClient.prototype.query
import { MysqlClient } from "https://deno.land/x/cotton@v0.7.5/deps.ts";

excute query sql

Parameters

sql: string

query sql string

optional
params: any[]

query params

Returns

Promise<any>