class DuckDB::Appender
def append_time(value)
appender.end_row
# appender.append_time('01:01:01')
# or
appender.append_time(Time.now)
appender = con.appender('times')
con.query('CREATE TABLE times (time_value TIME)')
con = db.connect
db = DuckDB::Database.open
require 'duckdb'
Appends a time value to the current row in the appender.
appender.append_time(val) -> self
call-seq:
def append_time(value) time = _parse_time(value) return self if _append_time(time.hour, time.min, time.sec, time.usec) raise_appender_error('failed to append_time') end