diff --git a/wit/rdbms-types.wit b/wit/rdbms-types.wit index 64f3e59ac8..3704ea230f 100644 --- a/wit/rdbms-types.wit +++ b/wit/rdbms-types.wit @@ -23,6 +23,10 @@ interface rdbms-types { floating64, str, binary, + date, + time, + datetime, + timestamp, other, } @@ -41,6 +45,10 @@ interface rdbms-types { floating64(float64), str(string), binary(list), + date(tuple), // (year, month, day) + time(tuple), // (hour, minute, second, nanosecond) + datetime(tuple), // (year, month, day, hour, minute, second, nanosecond) + timestamp(s64), // Unix timestamp (seconds since epoch) db-null, unsupported, } @@ -60,6 +68,10 @@ interface rdbms-types { floating64(float64), str(string), binary(list), + date(tuple), // (year, month, day) + time(tuple), // (hour, minute, second, nanosecond) + datetime(tuple), // (year, month, day, hour, minute, second, nanosecond) + timestamp(s64), // Unix timestamp (seconds since epoch) db-null, }