ts-db-helper
Version:
Simple ORM based on TypeScript
30 lines • 944 B
JavaScript
/**
* @public
* @class PendingDbQuery
*
* @description
* This class is a part of private API
* it is a combination of dbQuery and linked observer to stack the query
* during connector activation
*
* @author Olivier Margarit
* @since 0.1
*/
var PendingDbQuery = /** @class */ (function () {
/**
* @public
* @constructor pending query constructor to create new stackable query
* waiting for the connector to be ready
*
* @param {DbQuery} dbQuery db query object with all query informations
* see the class documentation
* @param {Observable<any>} observer the observer to notify the subscribers query result
*/
function PendingDbQuery(dbQuery, observer) {
this.dbQuery = dbQuery;
this.observer = observer;
}
return PendingDbQuery;
}());
export { PendingDbQuery };
//# sourceMappingURL=pending-db-query.model.js.map