UNPKG

simplifield-sql

Version:

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

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