tspace-mysql
Version:
Tspace MySQL is a promise-based ORM for Node.js, designed with modern TypeScript and providing type safety for schema databases.
14 lines (13 loc) • 610 B
TypeScript
import { Builder } from "./Builder";
declare class Join {
protected self: Builder;
protected type: 'INNER_JOIN' | 'LEFT_JOIN' | 'RIGHT_JOIN' | 'CROSS_JOIN';
private join;
constructor(self: Builder, type?: 'INNER_JOIN' | 'LEFT_JOIN' | 'RIGHT_JOIN' | 'CROSS_JOIN');
on(localKey: `${string}.${string}`, referenceKey?: `${string}.${string}`): this;
and(localKey: `${string}.${string}`, referenceKey?: `${string}.${string}`): this;
or(localKey: `${string}.${string}`, referenceKey?: `${string}.${string}`): this;
protected toString(): string;
}
export { Join };
export default Join;