type
stringclasses
7 values
content
stringlengths
4
9.55k
repo
stringlengths
7
96
path
stringlengths
4
178
language
stringclasses
1 value
ArrowFunction
articleCompare => { if (article !== articleCompare && article.tags && articleCompare.tags && article.decisions.length < 3) { article.tags.forEach(tag => { articleCompare.tags.forEach(tagCompare => { if (tag.title === tagCompare.title && !article.decisions.find(x => x.link ==...
myTopics/mytopics-backend
src/processor/processor.service.ts
TypeScript
ArrowFunction
tag => { articleCompare.tags.forEach(tagCompare => { if (tag.title === tagCompare.title && !article.decisions.find(x => x.link === articleCompare.id)) { article.decisions.push({ title: articleCompare.title, link: articleCompare.id, ...
myTopics/mytopics-backend
src/processor/processor.service.ts
TypeScript
ArrowFunction
tagCompare => { if (tag.title === tagCompare.title && !article.decisions.find(x => x.link === articleCompare.id)) { article.decisions.push({ title: articleCompare.title, link: articleCompare.id, }); } }
myTopics/mytopics-backend
src/processor/processor.service.ts
TypeScript
ArrowFunction
x => x.link === articleCompare.id
myTopics/mytopics-backend
src/processor/processor.service.ts
TypeScript
ClassDeclaration
@Injectable() export class ProcessorService { getInput(article: Article): string { return JSON.stringify({ id: article.id, text: article.text.replace(/[^ a-zA-Z0-9]+/g, ''), image: article.image ? article.image.replace(/^https?/g, '') : null, }); } process(articles: Article[]): Article[...
myTopics/mytopics-backend
src/processor/processor.service.ts
TypeScript
MethodDeclaration
getInput(article: Article): string { return JSON.stringify({ id: article.id, text: article.text.replace(/[^ a-zA-Z0-9]+/g, ''), image: article.image ? article.image.replace(/^https?/g, '') : null, }); }
myTopics/mytopics-backend
src/processor/processor.service.ts
TypeScript
MethodDeclaration
process(articles: Article[]): Article[] { const childProcess = require('child_process'); const newArticles = []; articles.forEach(article => { if (!article.text) { newArticles.push(article); } else if (article) { const input = this.getInput(article); const child = childP...
myTopics/mytopics-backend
src/processor/processor.service.ts
TypeScript
MethodDeclaration
processDecisions(articles: Article[]): Article[] { articles.forEach(article => { articles.forEach(articleCompare => { if (article !== articleCompare && article.tags && articleCompare.tags && article.decisions.length < 3) { article.tags.forEach(tag => { articleCompare.tags.forEac...
myTopics/mytopics-backend
src/processor/processor.service.ts
TypeScript
FunctionDeclaration
export function Images({ component, page }: BrProps): React.ReactElement | null { const models = component.getModels<ImagesModels>(); const params = component.getParameters(); const images = useMemo(() => { return IMAGE_PARAMS.map((model) => models[model as keyof ImagesModels]) .map((reference) => refe...
fairhopeweb/bloomreach-reference-spa
src/components/Images/Images.tsx
TypeScript
ArrowFunction
(n) => `image${n + 1}`
fairhopeweb/bloomreach-reference-spa
src/components/Images/Images.tsx
TypeScript
ArrowFunction
() => { return IMAGE_PARAMS.map((model) => models[model as keyof ImagesModels]) .map((reference) => reference && page.getContent<ImageSet>(reference)) .filter<ImageSet>(Boolean as any); }
fairhopeweb/bloomreach-reference-spa
src/components/Images/Images.tsx
TypeScript
ArrowFunction
(model) => models[model as keyof ImagesModels]
fairhopeweb/bloomreach-reference-spa
src/components/Images/Images.tsx
TypeScript
ArrowFunction
(reference) => reference && page.getContent<ImageSet>(reference)
fairhopeweb/bloomreach-reference-spa
src/components/Images/Images.tsx
TypeScript
ArrowFunction
() => { return Object.entries(params).filter(([key, value]) => IMAGE_PARAMS.includes(key) && value).length > images.length; }
fairhopeweb/bloomreach-reference-spa
src/components/Images/Images.tsx
TypeScript
ArrowFunction
([key, value]) => IMAGE_PARAMS.includes(key) && value
fairhopeweb/bloomreach-reference-spa
src/components/Images/Images.tsx
TypeScript
ArrowFunction
(image, index) => isImageSet(image) ? ( <Col key={image.getId()}
fairhopeweb/bloomreach-reference-spa
src/components/Images/Images.tsx
TypeScript
InterfaceDeclaration
interface ImagesModels { image1?: Reference; image2?: Reference; image3?: Reference; image4?: Reference; }
fairhopeweb/bloomreach-reference-spa
src/components/Images/Images.tsx
TypeScript
FunctionDeclaration
// The PotentialString discards the undefined and null. If // you go up to the settings and turn on strict mode and come // back, you'll see that hovering on PotentialString now shows // the full union. declare function getID(): PotentialString;
bonedaddy/l2typescript
tslang-play/play_files/typescript_examples/type_primitives/nullable_types.ts
TypeScript
TypeAliasDeclaration
// Why not use undefined? Mainly, because now you can verify // that text was correctly included. If text returned as // undefined then the result is the same as though it was // not there. // This might feel a bit superficial, but when converted into // a JSON string, if text was an undefined, it would not be // inclu...
bonedaddy/l2typescript
tslang-play/play_files/typescript_examples/type_primitives/nullable_types.ts
TypeScript
ArrowFunction
() => { it(`when calling #noJitter with a delay, it returns the same delay`, () => { const delay = 100; expect(noJitter(delay)).toBe(delay); }); }
jiljs/jil
packages/backoff/src/__tests__/jitters/no.test.ts
TypeScript
ArrowFunction
() => { const delay = 100; expect(noJitter(delay)).toBe(delay); }
jiljs/jil
packages/backoff/src/__tests__/jitters/no.test.ts
TypeScript
InterfaceDeclaration
export interface CourseProps { albumId: number; id: number; title: string; url: string; thumbnailUrl: string; }
alexjmarques/edusynch
src/interfaces/course.tsx
TypeScript
InterfaceDeclaration
export interface CourseListProps { courses: CourseProps[]; }
alexjmarques/edusynch
src/interfaces/course.tsx
TypeScript
ClassDeclaration
/** * Defines web application firewall policy for Azure CDN. */ export class Policy extends pulumi.CustomResource { /** * Get an existing Policy resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the result...
sebtelko/pulumi-azure-native
sdk/nodejs/cdn/v20200415/policy.ts
TypeScript
InterfaceDeclaration
/** * The set of arguments for constructing a Policy resource. */ export interface PolicyArgs { /** * Describes custom rules inside the policy. */ readonly customRules?: pulumi.Input<inputs.cdn.v20200415.CustomRuleListArgs>; /** * Gets a unique read-only string that changes whenever the res...
sebtelko/pulumi-azure-native
sdk/nodejs/cdn/v20200415/policy.ts
TypeScript
MethodDeclaration
/** * Get an existing Policy resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to...
sebtelko/pulumi-azure-native
sdk/nodejs/cdn/v20200415/policy.ts
TypeScript
MethodDeclaration
/** * Returns true if the given object is an instance of Policy. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ public static isInstance(obj: any): obj is Policy { if (obj === undefined || obj === null) { return false...
sebtelko/pulumi-azure-native
sdk/nodejs/cdn/v20200415/policy.ts
TypeScript
FunctionDeclaration
function wrap(mysqlUrlOrObjectOrMysqlAlreadyConnection: Mysql.IConnection | string, ...useTables: any[]): Database;
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
FunctionDeclaration
/** For meteor js only * Same as wrap but it's sync mode - autoconnect to the database without need to use database.ready(callback). */ function connect(mysqlUrlOrObjectOrMysqlAlreadyConnection: Mysql.IConnection | string, ...useTables: any[]): Database;
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
FunctionDeclaration
function observable<T>(obj: T): T & ObservableObject;
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
ClassDeclaration
class Helper { /** * Callback like forEach * @name valueCallback * @function * @param {T} the value of the object's key * @returnTye {U} * @return {U} */ /** * Callback like forEach * @name keyCallback * @function...
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
ClassDeclaration
class CriteriaParts implements ICriteriaParts { /** * The raw format of the criteria eg: {yearsOld:22}. */ rawCriteriaObject: any; /** * Which tables to search after the find method of the proto table finish. */ tables: TableToSearchPart[]; ...
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
ClassDeclaration
class CriteriaDivider<T> { private _table; constructor(table: Table<T>); /** * Builds the criteria raw object to Criteria object. * @param {any} rawCriteriaObject the criteria at raw format you pass eg: {yearsOld:18}. * @returnType {Criteria} * @return {Crit...
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
ClassDeclaration
class SelectQueryRules { private lastPropertyClauseName: string; manuallyEndClause: string; manuallyBeginClause: string; exceptColumns: string[]; orderByColumn: string; orderByDescColumn: string; groupByColumn: string; limitStart: number; limitEnd...
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
ClassDeclaration
class CriteriaBuilder<T>{ private rawCriteria: any; private primaryTable: Table<T>; private parentBuilder: CriteriaBuilder<any>; constructor(primaryTable: Table<T>); //to arxiko apo to Table.ts 9a benei constructor(primaryTable: Table<T>, tableName: string, parentBuilder: Crit...
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
ClassDeclaration
class SelectQuery<T> implements IQuery<T> { // T for Table's result type. _table: Table<T> constructor(_table: Table<T>); private parseQueryResult(result: any, criteria: ICriteriaParts): Promise<any>; /** * Executes the select and returns the Promise. */ pro...
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
ClassDeclaration
class SaveQuery<T> implements IQuery<T> { _table: Table<T> constructor(_table: Table<T>); execute(criteriaRawJsObject: any, callback?: (_result: T | any) => any): Promise<T | any>; }
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
ClassDeclaration
class DeleteQuery<T> implements IQuery<T>{ _table: Table<T> constructor(_table: Table<T>); execute(criteriaOrID: any | number | string, callback?: (_result: DeleteAnswer) => any): Promise<DeleteAnswer>; }
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
ClassDeclaration
class PropertyChangedArgs { propertyName: string; oldValue: any; constructor(propertyName: string, oldValue: any); }
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
ClassDeclaration
class ObservableObject { /** Property names that your row couldn't have: * "propertyChangedListeners", "notifyPropertyChanged", "onPropertyChanged", "toJSON", "makeObservable", "_forget" */ static RESERVED_PROPERTY_NAMES: string[]; private propertyChangedListeners: PropertyC...
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
ClassDeclaration
class CollectionChangedEventArgs<T> { action: CollectionChangedAction; oldItems: (T | (T & ObservableObject))[]; newItems: (T | (T & ObservableObject))[]; oldStartingIndex: number; newStartingIndex: number; constructor(action: CollectionChangedAction, oldItems?: (T | (T...
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
ClassDeclaration
class BaseCollection<T> {//T=result type of Table private list: (T | (T & ObservableObject))[]; listeners: ((eventArgs: CollectionChangedEventArgs<T>) => void)[]; constructor(table: Table<T>); length: number; items: (T | (T & ObservableObject))[]; indexOf(item: T | strin...
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
ClassDeclaration
class ObservableCollection<T> { //auti i klasi 9a xrisimopoieite ws Collection me kapoies paralages mesa sto index.ts. local: BaseCollection<T>; private _items: (T & ObservableObject)[]; constructor(table: Table<T>, fetchAllFromDatabase?: boolean, callbackWhenReady?: Function); items:...
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
ClassDeclaration
class MeteorCollection<T> { private collection: Mongo.Collection<T>; protected table: Table<T>; constructor(table: Table<T>, name?: string); startListeningToDatabase(): void; rawCollection: Mongo.Collection<T>; fill(criteriaRawJsObject: any): void; fillAll()...
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
ClassDeclaration
class Connection extends EventEmitter { /** * The real database connection socket. */ connection: Mysql.IConnection; /** * Collection of the supported event types for the tables. */ eventTypes: string[]; /** * Force to fetch ONLY t...
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
ClassDeclaration
class Table<T> { /** Private keywords here are useless but I put them. * If the developer wants to see the properties of the Table class, he/she just comes here. */ private _name: string; private _connection: Connection; private _columns: string[]; private _pr...
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
ClassDeclaration
class MeteorTable<T>{ public table: Table<T>; constructor(table: Table<T>); insert(doc: T, callback?: (_result: T) => void): T; remove(selector: any, callback?: () => DeleteAnswer): DeleteAnswer; update(selector: any, modifier: any, options?: { multi?: boolean; ...
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
ClassDeclaration
class Database { connection: Connection; isReady: boolean; readyListenerCallbacks: Function[]; constructor(connection?: Connection); static when(..._promises: Promise<any>[]): Promise<any>; setConnection(connection: Connection): void; /** * Force to use...
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
InterfaceDeclaration
interface Map<T> { [index: string]: T; }
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
InterfaceDeclaration
interface IQuery<T> { _table: Table<T>; execute(rawCriteria: any, callback?: (_results: any) => any): Promise<any>; }
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
InterfaceDeclaration
interface IQueryConstructor<T> { new (_table: Table<T>): IQuery<T>; }
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
InterfaceDeclaration
interface ICriteriaParts { rawCriteriaObject: any; tables: TableToSearchPart[]; noDatabaseProperties: string[]; whereClause: string; selectFromClause<T>(_table: Table<T>): string; }
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
EnumDeclaration
enum CollectionChangedAction { INSERT, DELETE, RESET//for now I will use only add, remove and reset . replace and move is for future., REPLACE, MOVE }
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
TypeAliasDeclaration
type DeleteAnswer = { affectedRows: number; table: string; };
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
TypeAliasDeclaration
type RawRules = { table: string, begin: string, orderBy: string, orderByDesc: string, groupBy: string, limit: number, // limit = limitStart =0 and limitEnd = limit. limitStart: number, limitEnd: number, end: string };
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
TypeAliasDeclaration
type TableToSearchPart = { tableName: string, propertyName: string };
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
TypeAliasDeclaration
type PropertyChangedCallback = (args: PropertyChangedArgs) => any;
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
MethodDeclaration
/** * Create and return a copy of an object. * @param {T} object the object you want to copy. * @returnType {T} * @return {T} */ static copyObject<T>(object: T): T;
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
MethodDeclaration
/** * Converts any_string to anyString and returns it. * @param {string} columnKey the string you want to convert. * @returnType {string} * @return {string} */ static toObjectProperty(columnKey: string): string;
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
MethodDeclaration
/** * Converts anyString to any_string and returns it. * @param {string} objectKey the string you want to convert. * @returnType {string} * @return {string} */ static toRowProperty(objectKey: string): string;
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
MethodDeclaration
/** * Iterate object's keys and return their values to the callback. * @param {<T>} map the object. * @param {valueCallback} * @returnType {U} * @return {U} */ static forEachValue<T, U>(map: T, callback: (value: T) => U): U;
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
MethodDeclaration
/** * Iterate object's keys and return their names to the callback. * @param {Map<T>} map the object. * @param {keyCallback} * @returnType {U} * @return {U} */ static forEachKey<T, U>(map: Map<T>, callback: (key: string) => U): U;
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
MethodDeclaration
/** * Checks if anything is a function. * @param {functionToCheck} the object or function to pass * @return boolean */ static isFunction(functionToCheck: any): boolean;
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
MethodDeclaration
/** * Checks if an object has 'tableRules' property. * @param {obj} the object to pass * @return boolean */ static hasRules(obj: any): boolean;
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
MethodDeclaration
selectFromClause<T>(_table: Table<T>): string;
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
MethodDeclaration
/** * Builds the criteria raw object to Criteria object. * @param {any} rawCriteriaObject the criteria at raw format you pass eg: {yearsOld:18}. * @returnType {Criteria} * @return {Criteria} */ build(rawCriteriaObject: any): CriteriaParts;
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
MethodDeclaration
static build(): SelectQueryRules;
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
MethodDeclaration
private last(propertyClauseName);
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
MethodDeclaration
except(...columns: string[]): SelectQueryRules;
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
MethodDeclaration
/** * Same as .except(...columns) */ exclude(...columns: string[]): SelectQueryRules;
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
MethodDeclaration
orderBy(columnKey: string, descending?: boolean): SelectQueryRules;
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
MethodDeclaration
groupBy(columnKey: string): SelectQueryRules;
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
MethodDeclaration
limit(limitRowsOrStart: number, limitEnd?: number): SelectQueryRules;
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
MethodDeclaration
appendToBegin(manualAfterWhereString: string): SelectQueryRules;
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
MethodDeclaration
appendToEnd(manualAfterWhereString: string): SelectQueryRules;
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
MethodDeclaration
append(appendToCurrent: string): SelectQueryRules;
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
MethodDeclaration
clearOrderBy(): SelectQueryRules;
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
MethodDeclaration
clearGroupBy(): SelectQueryRules;
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
MethodDeclaration
clearLimit(): SelectQueryRules;
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
MethodDeclaration
clearEndClause(): SelectQueryRules;
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
MethodDeclaration
clearBeginClause(): SelectQueryRules;
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
MethodDeclaration
clear(): SelectQueryRules;
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
MethodDeclaration
from(parentRule: SelectQueryRules): SelectQueryRules;
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
MethodDeclaration
toRawObject(): RawRules;
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
MethodDeclaration
static toString(rules: SelectQueryRules): string;
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
MethodDeclaration
static toRawObject(rules: SelectQueryRules): RawRules;
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
MethodDeclaration
static fromRawObject(obj: RawRules): SelectQueryRules;
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
MethodDeclaration
except(...columns: string[]): CriteriaBuilder<T>;
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
MethodDeclaration
/** * Same as .except(...columns) */ exclude(...columns: string[]): CriteriaBuilder<T>;
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
MethodDeclaration
where(key: string, value: any): CriteriaBuilder<T>;
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
MethodDeclaration
private createRulesIfNotExists(): void;
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
MethodDeclaration
orderBy(column: string, desceding?: boolean): CriteriaBuilder<T>;
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
MethodDeclaration
limit(start: number, end?: number): CriteriaBuilder<T>;
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
MethodDeclaration
join(realTableName: string, foreignColumnName: string): CriteriaBuilder<T>;
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
MethodDeclaration
joinAs(tableNameProperty: string, realTableName: string, foreignColumnName: string): CriteriaBuilder<T>;
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
MethodDeclaration
at(tableNameProperty: string): CriteriaBuilder<T>;
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
MethodDeclaration
parent(): CriteriaBuilder<T>;
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
MethodDeclaration
original(): CriteriaBuilder<T>;
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
MethodDeclaration
/** * Auto kanei kuklous mexri na paei sto primary table kai ekei na epistrepsei to sunoliko raw criteria gia execute i kati allo. */ build(): any;
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript
MethodDeclaration
static from<T>(table: Table<T>): CriteriaBuilder<T>
HydTechie/DefinitelyTyped
node-mysql-wrapper/node-mysql-wrapper.d.ts
TypeScript