Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,12 @@ public static QueryParameterValue bytes(byte[] value) {
return of(value, StandardSQLTypeName.BYTES);
}

/** Creates a {@code QueryParameterValue} object with a type of TIMESTAMP. */
/**
* Creates a {@code QueryParameterValue} object with a type of TIMESTAMP.
*
* @param value Microseconds since epoch, e.g. 1733945416000000 corresponds to 2024-12-11
* 19:30:16.929Z
*/
public static QueryParameterValue timestamp(Long value) {
return of(value, StandardSQLTypeName.TIMESTAMP);
}
Expand Down
Loading