@small-tech/jsdb
Version:
A zero-dependency, transparent, in-memory, streaming write-on-update JavaScript database for Small Web applications that persists to a JavaScript transaction log.
18 lines (17 loc) • 537 B
TypeScript
export default class QuerySanitiser {
static Allowed: typeof Allowed;
static Disallowed: typeof Disallowed;
static sanitiseAndExecuteQueryOnData(queryString: any, data: any): any;
}
declare class Allowed {
static functionalOperationsCaseInsensitive: RegExp;
static functionalOperations: RegExp;
static relationalOperations: RegExp;
static logicalOr: RegExp;
static logicalAnd: RegExp;
static allowedCharacters: RegExp;
}
declare class Disallowed {
static dangerousCharacters: RegExp;
}
export {};