UNPKG

simplifield-sql

Version:

A simplifield sql package that makes your work more easier, simpler and smarter!.

9 lines (8 loc) 281 B
/** * @description This function is used to delete row from the table * @returns Boolean as Promise (*`true/false`*) * @example * await db.delete("users", { id: 1 }); * // output: true */ export default function (table: string, condetions: {} | undefined): Promise<boolean>;