Exists
This reference topic applies to FQL v4. Go to this page for the latest FQL v10 reference topics. |
Exists( ref, [ts] )
exists( ref, [ts]
Exists( ref, [ts] )
Exists( ref, [ts] )
Exists( ref, [ts] )
Exists( ref, [ts] )
Description
The Exists
function returns boolean true
if the provided ref exists
at the specified timestamp (in the case of a document), or is non-empty
(in the case of a set), and false
otherwise.
Parameters
Parameter | Type | Definition and Requirements | ||
---|---|---|---|---|
|
Reference |
The Reference that uniquely identifies a document within the database. |
||
|
Long or Timestamp |
Optional - The timestamp at which the existence of the Reference is checked. Can be expressed as either a number of UNIX microseconds since epoch, or as a Timestamp. Defaults to the current time.
|