db_insert

$s->db_insert($table,\%data,[$keyfield]);

db_update_key

$s->db_update_key($table,$keyfield,$keyid,\%data);

db_update_where

$s->db_update_where($table,$where,\%data);

db_q

$s->db_q($query,[$t],[%args]);

Runs given $query and optionally returns data in structure defined by $t.

Values of $t: (scalar,hash,array,keyval,hashhash,arrayhash,importfile,csv)