Skip to main content
Module

x/denodb/deps.ts>SQLiteClient#deleteFunction

MySQL, SQLite, MariaDB, PostgreSQL and MongoDB ORM for Deno
Latest
method SQLiteClient.prototype.deleteFunction
import { SQLiteClient } from "https://deno.land/x/denodb@v1.4.0/deps.ts";

Delete a user-defined SQL function previously created with createFunction.

After the function is deleted, it can no longer be used in queries, and is free to be re-defined.

Example

const double = (num: number) => num * 2;
db.createFunction(double);
// use the function ...
db.deleteFunction("double");

Parameters

name: string