method QueryBuilder.prototype.updateRe-exportimport { QueryBuilder } from "https://deno.land/x/sql@1.0/mod.ts"; update(): this更新 update(update: Partial<Q> | Pick<AdvancedUpdate, keyof Q>): this更新 update(update: string): this更新 update(update: string, values: DataRow): this更新 update(update: string, values: any[]): this更新 更新 Returnsthis更新 Parametersupdate: Partial<Q> | Pick<AdvancedUpdate, keyof Q>键值对数据,如 { a: 123, b: 456 } Returnsthis更新 Parametersupdate: stringSQL 语句,如 a=a+1 Returnsthis更新 Parametersupdate: stringSQL 语句模板,如 a=:a values: DataRow模板参数,如 { a: 123 } Returnsthis更新 Parametersupdate: stringSQL 语句模板,如 a=? values: any[]模板参数,如 [ 123 ] Returnsthis