@odata2ts/odata-query-objects
Version:
Q-Objects are the magic sauce for the odata-query-builder and allow for renaming and type conversion
11 lines (10 loc) • 631 B
TypeScript
import { InputModel } from "../base/QBasePath";
import { QStringBasePath } from "../base/QStringBasePath";
import { QNumberPath } from "./QNumberPath";
export declare class QStringPath<ConvertedType = string> extends QStringBasePath<QStringPath<ConvertedType>, ConvertedType> {
protected create(path: string): QStringPath<ConvertedType>;
indexOf(value: InputModel<this["converter"]>): QNumberPath<number>;
length(): QNumberPath<number>;
contains(value: InputModel<this["converter"]>): import("../..").QFilterExpression;
matchesPattern(value: InputModel<this["converter"]>): import("../..").QFilterExpression;
}