access-db
Version:
[统一数据库的连接]Unified access to all kinds of databases
5 lines (4 loc) • 413 B
TypeScript
import { MysqlUpdateParams, TTable, MysqlUpdateRes, TSentence, MysqlUpdateKey } from '../index';
declare function fetchUpdate(table: TTable, uniKey: string | number | MysqlUpdateKey, params: MysqlUpdateParams): Promise<MysqlUpdateRes>;
declare function fetchUpdate(table: TTable, uniKey: string | number | MysqlUpdateKey, params: MysqlUpdateParams, query: TSentence): Promise<string>;
export default fetchUpdate;