$db->do( 'insert into t values ( current_timestamp, ' . $db->quote( $var1 ) . ' )' ) or die "SQL go boom " . $db->errstr;