ts-db-helper
Version:
Simple ORM based on TypeScript
25 lines (24 loc) • 560 B
TypeScript
import { QueryPart } from '../queries/query-part.model';
/**
* @private
* @interface IClause
*
* @description
* Clause interface
*
* @author Olivier Margarit
*
* @since 0.2
*/
export interface IClause {
/**
* @property {string} operator the operator that join the clause with the other
*/
operator: string;
/**
* @method build build the query part to append with the main query
*
* @return {QueryPart} the part of the query to append to the main DbQuery.
*/
build(): QueryPart;
}