GAXQZF7I7RRROMRQJWOIIZYFPX5VB6ZKGMPU3NKN5BLA7WVPWC5AC
EKAWOQMSNHBPSJAPHNJP2PB2BZ2R4SLIIGGBKTDIH7JXNU2C3L6AC
OF3H5VU2V3YWNALAFGB5AVZBDCKDBSU5VJUGTOCCCKTQ3ZJVIWYQC
MHH6QV5QBHBYPWSQMV7IAU5CJQPYZQUEJT7PIR3BPWWJJ7S5MPUAC
ATGTSECYSONVP2L6X4ZNHIA6353GTUO7O2QP7NPHXIAJSZIKI3EAC
3ZE4YIXX3UAKYLD2EJSIX2DPHFUOF3TOUKBPHG4UKX4UOP7DPSEQC
ctcp_msg := '\1$verb $msg\1'
ctcp_msg := '\1' + '$verb $msg' + '\1'
pub fn (mut self Db) update_by_field(table string, id_field string, id_value string, field string, value string) [][]string { zql := 'update from $table set $field = "$value" where $id_field = "$id_value"' rows := self.exec(zql) self.log.debug('SQL $zql $rows') return rows}
pub fn (mut self Db) update_by_field(table string, id_field string, id_value string, field string, value string) [][]string {
zql := 'update from $table set $field = "$value" where $id_field = "$id_value"'
rows := self.exec(zql)
self.log.debug('SQL $zql $rows')
return rows
}