db-discord
Version:
db-discord is a library that uses discord guilds and text channels as databases. db-discord relies on discord.js
10 lines (9 loc) • 408 B
TypeScript
import { KeyPairValue } from "./utilities";
import { Table, SearchArguments } from "./Table";
import { TableType } from "./db-discord";
export declare class LongTable<T> extends Table<T> {
type: TableType;
write(obj: T, _searchAble?: Partial<T> | null): Promise<string>;
get(id: string): Promise<T>;
search(searchArguments: SearchArguments<T>): Promise<KeyPairValue<string, T>[]>;
}