///
///
declare namespace NajsEloquent.QueryBuilder {
interface IQueryExecutor extends Driver.IExecutor {
/**
* Execute query and return the records as a Collection.
*/
get(): Promise;
/**
* Execute query and returns the first record.
*/
first(): Promise;
/**
* Execute query and returns count of records.
*/
count(): Promise;
/**
* Update records which match the query with data.
*
* @param {Object} data
*/
update(data: Object): Promise;
/**
* Delete all records which match the query.
*/
delete(): Promise;
/**
* Restore all records which match the query.
*/
restore(): Promise;
/**
* Execute query and returns raw result.
*/
execute(): Promise;
}
}