我正在尝试使用此代码,加上 codeigniter
$data = array(
// 'category' => $dbi['category'],
'transaction_timestamp' => time(),
);
$this->db->insert('bitzon', $data);
给出的错误:
A Database Error Occurred
Error Number:
ERROR: column "transaction_timestamp" is of type timestamp without time zone but expression is of type integer"
为什么是这样?