Skip to content

Commit c66f5ad

Browse files
committed
add a comment ref to crdb's missing to_timestamp() issue
1 parent 9dcfb64 commit c66f5ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tink/sql/drivers/node/CockroachDb.hx

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ class CockroachDbConnection<Db> implements Connection<Db> implements Sanitizer {
122122
if (Int64.isInt64(v))
123123
return Int64.toStr(v);
124124
if (Std.is(v, Date))
125-
return '(${Math.round((v : Date).getTime() / 1000)})::timestamptz';
125+
return '(${Math.round((v : Date).getTime() / 1000)})::timestamptz'; // https://github.com/cockroachdb/cockroach/issues/77591
126126
if (Std.is(v, String))
127127
return Client.escapeLiteral(v);
128128
if (Std.is(v, Bytes))

0 commit comments

Comments
 (0)