node-mysql-query-utils
Version:
A simple MySQL query utils for Node.js
20 lines • 765 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.createColumns = createColumns;
// Helper function to create a WhereCondition
// export function createWhereCondition<T extends string>(conditions: WhereCondition<T>): WhereCondition<T> {
// return conditions;
// }
// // Helper function to create an orderBy array
// export function createOrderBy<T extends string>(fields: OrderByField<T>[]): OrderByField<T>[] {
// return fields;
// }
// Helper function to create columns
function createColumns(columns) {
return columns;
}
// Helper function to create field alias
// export function createFieldAlias<T extends string>(fieldObj: FieldAlias<T>): FieldAlias<T> {
// return fieldObj;
// }
//# sourceMappingURL=helper.js.map