| Modifier and Type | Method and Description |
|---|---|
String |
explain()
Returns a string describing the implementation of the compiled query.
|
Parameters |
parameters() |
String |
profile() |
ResultSet |
run()
Runs the query.
|
static Select |
select(SelectResult... results)
Create a SELECT ALL (*) query.
|
static Select |
selectDistinct(SelectResult... results)
Create a SELECT DISTINCT ALL (*) query.
|
LiveQuery |
toLive() |
String |
toString() |
public static Select select(SelectResult... results)
public static Select selectDistinct(SelectResult... results)
public Parameters parameters()
public ResultSet run() throws CouchbaseLiteException
The results come from a snapshot of the database taken at the moment the run() method is called, so they will not reflect any changes made to the database afterwards.
CouchbaseLiteException - if there is an error when running the query.public String explain() throws CouchbaseLiteException
CouchbaseLiteException - if an error occurspublic String profile()
public LiveQuery toLive()