Debian Codegraph @

test/command/suite/load/time/cast/string/iso8601/valid/date-only.test

raw
1 plugin_register functions/time
2
3 table_create Logs TABLE_NO_KEY
4 column_create Logs created_at COLUMN_SCALAR Time
5 column_create Logs created_at_text COLUMN_SCALAR ShortText
6
7 load --table Logs
8 [
9 {"created_at": "2000-01-01", "created_at_text": "2000-01-01"}
10 ]
11
12 select Logs --output_columns "time_format_iso8601(created_at), created_at_text"