///
declare namespace NajsEloquent.QueryGrammar {
interface IExecuteQuery {
/**
* 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;
}
}