Skip to main content
Module

x/denodb/deps.ts>MySQLConnection#execute

MySQL, SQLite, MariaDB, PostgreSQL and MongoDB ORM for Deno
Go to Latest
method MySQLConnection.prototype.execute
import { MySQLConnection } from "https://deno.land/x/denodb@v1.0.40/deps.ts";

execute sql

Parameters

sql: string

sql string

optional
params: any[]

query params

optional
iterator = [UNSUPPORTED]

whether to return an ExecuteIteratorResult or ExecuteResult

Returns

Promise<ExecuteResult>