Skip to main content
Go to Latest
class database
import { database } from "https://deno.land/x/the@0.0.0.3.2/src/DB.ts";

Constructors

new
database(
table: string,
data?: [],
col?: string,
)

Properties

protected
client
protected
field: any
protected
query: string
protected
rows: any

Methods

create(data: TheData[])
delete(where: Where[])
find(where: Where[], limit?)
first(any: any)
InsertQ(data: TheData[])
LimitQ(limit: number)
update(where: Where[], data: TheData[])
UpdateQ(data: TheData[])
where(where: Where[])
WhereQ(where?: Where[] | Where)