We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 528426b commit 6ee0c10Copy full SHA for 6ee0c10
google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/QueryParameterValue.java
@@ -300,7 +300,12 @@ public static QueryParameterValue bytes(byte[] value) {
300
return of(value, StandardSQLTypeName.BYTES);
301
}
302
303
- /** Creates a {@code QueryParameterValue} object with a type of TIMESTAMP. */
+ /**
304
+ * Creates a {@code QueryParameterValue} object with a type of TIMESTAMP.
305
+ *
306
+ * @param value Microseconds since epoch, e.g. 1733945416000000 corresponds to 2024-12-11
307
+ * 19:30:16.929Z
308
+ */
309
public static QueryParameterValue timestamp(Long value) {
310
return of(value, StandardSQLTypeName.TIMESTAMP);
311
0 commit comments