ts-sql-query
Advanced tools
Comparing version 1.60.0 to 1.61.0
@@ -131,2 +131,3 @@ import type { AnyValueSource, IBooleanValueSource, IExecutableDeleteQuery, IIfValueSource, ValueSourceOf, ValueSourceValueTypeForResult } from "./values"; | ||
export interface ComposableExecutableDelete<TABLE extends ITableOrView<any>, COLUMNS, RESULT> extends ExecutableDeleteReturning<TABLE, COLUMNS, RESULT> { | ||
/** @deprecated Use complex projections or aggregate as an object array instead */ | ||
compose<EXTERNAL_PROP extends keyof RESULT & ColumnGuard<COLUMNS>, INTERNAL_PROP extends string, RESULT_PROP extends string>(config: { | ||
@@ -137,2 +138,3 @@ externalProperty: EXTERNAL_PROP; | ||
}): ComposeExpression<EXTERNAL_PROP, INTERNAL_PROP, RESULT_PROP, TABLE, COLUMNS, RESULT>; | ||
/** @deprecated Use complex projections or aggregate as an object array instead */ | ||
composeDeletingInternalProperty<EXTERNAL_PROP extends keyof RESULT & ColumnGuard<COLUMNS>, INTERNAL_PROP extends string, RESULT_PROP extends string>(config: { | ||
@@ -143,2 +145,3 @@ externalProperty: EXTERNAL_PROP; | ||
}): ComposeExpressionDeletingInternalProperty<EXTERNAL_PROP, INTERNAL_PROP, RESULT_PROP, TABLE, COLUMNS, RESULT>; | ||
/** @deprecated Use complex projections or aggregate as an object array instead */ | ||
composeDeletingExternalProperty<EXTERNAL_PROP extends keyof RESULT & ColumnGuard<COLUMNS>, INTERNAL_PROP extends string, RESULT_PROP extends string>(config: { | ||
@@ -149,2 +152,3 @@ externalProperty: EXTERNAL_PROP; | ||
}): ComposeExpressionDeletingExternalProperty<EXTERNAL_PROP, INTERNAL_PROP, RESULT_PROP, TABLE, COLUMNS, RESULT>; | ||
/** @deprecated Use complex projections or aggregate as an object array instead */ | ||
splitRequired<RESULT_PROP extends string, MAPPED_PROPS extends keyof RESULT & ColumnGuard<COLUMNS>, MAPPING extends { | ||
@@ -161,2 +165,3 @@ [P: string]: MAPPED_PROPS; | ||
}>; | ||
/** @deprecated Use complex projections or aggregate as an object array instead */ | ||
splitOptional<RESULT_PROP extends string, MAPPED_PROPS extends keyof RESULT & ColumnGuard<COLUMNS>, MAPPING extends { | ||
@@ -173,2 +178,3 @@ [P: string]: MAPPED_PROPS; | ||
}>; | ||
/** @deprecated Use complex projections or aggregate as an object array instead */ | ||
split<RESULT_PROP extends string, MAPPED_PROPS extends keyof RESULT & ColumnGuard<COLUMNS>, MAPPING extends { | ||
@@ -195,2 +201,3 @@ [P: string]: MAPPED_PROPS; | ||
})>; | ||
/** @deprecated Use complex projections or aggregate as an object array instead */ | ||
guidedSplitRequired<RESULT_PROP extends string, MAPPED_PROPS extends keyof GuidedObj<RESULT> & ColumnGuard<COLUMNS>, MAPPING extends { | ||
@@ -207,2 +214,3 @@ [P: string]: MAPPED_PROPS; | ||
}>; | ||
/** @deprecated Use complex projections or aggregate as an object array instead */ | ||
guidedSplitOptional<RESULT_PROP extends string, MAPPED_PROPS extends keyof GuidedObj<RESULT> & ColumnGuard<COLUMNS>, MAPPING extends { | ||
@@ -221,2 +229,3 @@ [P: string]: MAPPED_PROPS; | ||
export interface ComposeExpression<EXTERNAL_PROP extends keyof RESULT, INTERNAL_PROP extends string, RESULT_PROP extends string, TABLE extends ITableOrView<any>, COLUMNS, RESULT> { | ||
/** @deprecated Use complex projections or aggregate as an object array instead */ | ||
withNoneOrOne<INTERNAL extends { | ||
@@ -227,2 +236,3 @@ [key in INTERNAL_PROP]: RESULT[EXTERNAL_PROP]; | ||
}>; | ||
/** @deprecated Use complex projections or aggregate as an object array instead */ | ||
withOne<INTERNAL extends { | ||
@@ -235,2 +245,3 @@ [key in INTERNAL_PROP]: RESULT[EXTERNAL_PROP]; | ||
})>; | ||
/** @deprecated Use complex projections or aggregate as an object array instead */ | ||
withMany<INTERNAL extends { | ||
@@ -243,2 +254,3 @@ [key in INTERNAL_PROP]: RESULT[EXTERNAL_PROP]; | ||
})>; | ||
/** @deprecated Use complex projections or aggregate as an object array instead */ | ||
withOptionalMany<INTERNAL extends { | ||
@@ -251,2 +263,3 @@ [key in INTERNAL_PROP]: RESULT[EXTERNAL_PROP]; | ||
export interface ComposeExpressionDeletingInternalProperty<EXTERNAL_PROP extends keyof RESULT, INTERNAL_PROP extends string, RESULT_PROP extends string, TABLE extends ITableOrView<any>, COLUMNS, RESULT> { | ||
/** @deprecated Use complex projections or aggregate as an object array instead */ | ||
withNoneOrOne<INTERNAL extends { | ||
@@ -259,2 +272,3 @@ [key in INTERNAL_PROP]: RESULT[EXTERNAL_PROP]; | ||
}>; | ||
/** @deprecated Use complex projections or aggregate as an object array instead */ | ||
withOne<INTERNAL extends { | ||
@@ -271,2 +285,3 @@ [key in INTERNAL_PROP]: RESULT[EXTERNAL_PROP]; | ||
})>; | ||
/** @deprecated Use complex projections or aggregate as an object array instead */ | ||
withMany<INTERNAL extends { | ||
@@ -283,2 +298,3 @@ [key in INTERNAL_PROP]: RESULT[EXTERNAL_PROP]; | ||
})>; | ||
/** @deprecated Use complex projections or aggregate as an object array instead */ | ||
withOptionalMany<INTERNAL extends { | ||
@@ -293,2 +309,3 @@ [key in INTERNAL_PROP]: RESULT[EXTERNAL_PROP]; | ||
export interface ComposeExpressionDeletingExternalProperty<EXTERNAL_PROP extends keyof RESULT, INTERNAL_PROP extends string, RESULT_PROP extends string, TABLE extends ITableOrView<any>, COLUMNS, RESULT> { | ||
/** @deprecated Use complex projections or aggregate as an object array instead */ | ||
withNoneOrOne<INTERNAL extends { | ||
@@ -299,2 +316,3 @@ [key in INTERNAL_PROP]: RESULT[EXTERNAL_PROP]; | ||
}>; | ||
/** @deprecated Use complex projections or aggregate as an object array instead */ | ||
withOne<INTERNAL extends { | ||
@@ -307,2 +325,3 @@ [key in INTERNAL_PROP]: RESULT[EXTERNAL_PROP]; | ||
})>; | ||
/** @deprecated Use complex projections or aggregate as an object array instead */ | ||
withMany<INTERNAL extends { | ||
@@ -315,2 +334,3 @@ [key in INTERNAL_PROP]: RESULT[EXTERNAL_PROP]; | ||
})>; | ||
/** @deprecated Use complex projections or aggregate as an object array instead */ | ||
withOptionalMany<INTERNAL extends { | ||
@@ -317,0 +337,0 @@ [key in INTERNAL_PROP]: RESULT[EXTERNAL_PROP]; |
@@ -303,2 +303,3 @@ import type { AnyValueSource, IBooleanValueSource, IExecutableUpdateQuery, IIfValueSource, RemapIValueSourceType, RemapIValueSourceTypeWithOptionalType, ValueSourceOf, ValueSourceValueType, ValueSourceValueTypeForResult } from "./values"; | ||
export interface ComposableExecutableUpdate<TABLE extends ITableOrView<any>, COLUMNS, RESULT> extends ExecutableUpdateReturning<TABLE, COLUMNS, RESULT> { | ||
/** @deprecated Use complex projections or aggregate as an object array instead */ | ||
compose<EXTERNAL_PROP extends keyof RESULT & ColumnGuard<COLUMNS>, INTERNAL_PROP extends string, RESULT_PROP extends string>(config: { | ||
@@ -309,2 +310,3 @@ externalProperty: EXTERNAL_PROP; | ||
}): ComposeExpression<EXTERNAL_PROP, INTERNAL_PROP, RESULT_PROP, TABLE, COLUMNS, RESULT>; | ||
/** @deprecated Use complex projections or aggregate as an object array instead */ | ||
composeDeletingInternalProperty<EXTERNAL_PROP extends keyof RESULT & ColumnGuard<COLUMNS>, INTERNAL_PROP extends string, RESULT_PROP extends string>(config: { | ||
@@ -315,2 +317,3 @@ externalProperty: EXTERNAL_PROP; | ||
}): ComposeExpressionDeletingInternalProperty<EXTERNAL_PROP, INTERNAL_PROP, RESULT_PROP, TABLE, COLUMNS, RESULT>; | ||
/** @deprecated Use complex projections or aggregate as an object array instead */ | ||
composeDeletingExternalProperty<EXTERNAL_PROP extends keyof RESULT & ColumnGuard<COLUMNS>, INTERNAL_PROP extends string, RESULT_PROP extends string>(config: { | ||
@@ -321,2 +324,3 @@ externalProperty: EXTERNAL_PROP; | ||
}): ComposeExpressionDeletingExternalProperty<EXTERNAL_PROP, INTERNAL_PROP, RESULT_PROP, TABLE, COLUMNS, RESULT>; | ||
/** @deprecated Use complex projections or aggregate as an object array instead */ | ||
splitRequired<RESULT_PROP extends string, MAPPED_PROPS extends keyof RESULT & ColumnGuard<COLUMNS>, MAPPING extends { | ||
@@ -333,2 +337,3 @@ [P: string]: MAPPED_PROPS; | ||
}>; | ||
/** @deprecated Use complex projections or aggregate as an object array instead */ | ||
splitOptional<RESULT_PROP extends string, MAPPED_PROPS extends keyof RESULT & ColumnGuard<COLUMNS>, MAPPING extends { | ||
@@ -345,2 +350,3 @@ [P: string]: MAPPED_PROPS; | ||
}>; | ||
/** @deprecated Use complex projections or aggregate as an object array instead */ | ||
split<RESULT_PROP extends string, MAPPED_PROPS extends keyof RESULT & ColumnGuard<COLUMNS>, MAPPING extends { | ||
@@ -367,2 +373,3 @@ [P: string]: MAPPED_PROPS; | ||
})>; | ||
/** @deprecated Use complex projections or aggregate as an object array instead */ | ||
guidedSplitRequired<RESULT_PROP extends string, MAPPED_PROPS extends keyof GuidedObj<RESULT> & ColumnGuard<COLUMNS>, MAPPING extends { | ||
@@ -379,2 +386,3 @@ [P: string]: MAPPED_PROPS; | ||
}>; | ||
/** @deprecated Use complex projections or aggregate as an object array instead */ | ||
guidedSplitOptional<RESULT_PROP extends string, MAPPED_PROPS extends keyof GuidedObj<RESULT> & ColumnGuard<COLUMNS>, MAPPING extends { | ||
@@ -393,2 +401,3 @@ [P: string]: MAPPED_PROPS; | ||
export interface ComposeExpression<EXTERNAL_PROP extends keyof RESULT, INTERNAL_PROP extends string, RESULT_PROP extends string, TABLE extends ITableOrView<any>, COLUMNS, RESULT> { | ||
/** @deprecated Use complex projections or aggregate as an object array instead */ | ||
withNoneOrOne<INTERNAL extends { | ||
@@ -399,2 +408,3 @@ [key in INTERNAL_PROP]: RESULT[EXTERNAL_PROP]; | ||
}>; | ||
/** @deprecated Use complex projections or aggregate as an object array instead */ | ||
withOne<INTERNAL extends { | ||
@@ -407,2 +417,3 @@ [key in INTERNAL_PROP]: RESULT[EXTERNAL_PROP]; | ||
})>; | ||
/** @deprecated Use complex projections or aggregate as an object array instead */ | ||
withMany<INTERNAL extends { | ||
@@ -415,2 +426,3 @@ [key in INTERNAL_PROP]: RESULT[EXTERNAL_PROP]; | ||
})>; | ||
/** @deprecated Use complex projections or aggregate as an object array instead */ | ||
withOptionalMany<INTERNAL extends { | ||
@@ -423,2 +435,3 @@ [key in INTERNAL_PROP]: RESULT[EXTERNAL_PROP]; | ||
export interface ComposeExpressionDeletingInternalProperty<EXTERNAL_PROP extends keyof RESULT, INTERNAL_PROP extends string, RESULT_PROP extends string, TABLE extends ITableOrView<any>, COLUMNS, RESULT> { | ||
/** @deprecated Use complex projections or aggregate as an object array instead */ | ||
withNoneOrOne<INTERNAL extends { | ||
@@ -431,2 +444,3 @@ [key in INTERNAL_PROP]: RESULT[EXTERNAL_PROP]; | ||
}>; | ||
/** @deprecated Use complex projections or aggregate as an object array instead */ | ||
withOne<INTERNAL extends { | ||
@@ -443,2 +457,3 @@ [key in INTERNAL_PROP]: RESULT[EXTERNAL_PROP]; | ||
})>; | ||
/** @deprecated Use complex projections or aggregate as an object array instead */ | ||
withMany<INTERNAL extends { | ||
@@ -455,2 +470,3 @@ [key in INTERNAL_PROP]: RESULT[EXTERNAL_PROP]; | ||
})>; | ||
/** @deprecated Use complex projections or aggregate as an object array instead */ | ||
withOptionalMany<INTERNAL extends { | ||
@@ -465,2 +481,3 @@ [key in INTERNAL_PROP]: RESULT[EXTERNAL_PROP]; | ||
export interface ComposeExpressionDeletingExternalProperty<EXTERNAL_PROP extends keyof RESULT, INTERNAL_PROP extends string, RESULT_PROP extends string, TABLE extends ITableOrView<any>, COLUMNS, RESULT> { | ||
/** @deprecated Use complex projections or aggregate as an object array instead */ | ||
withNoneOrOne<INTERNAL extends { | ||
@@ -471,2 +488,3 @@ [key in INTERNAL_PROP]: RESULT[EXTERNAL_PROP]; | ||
}>; | ||
/** @deprecated Use complex projections or aggregate as an object array instead */ | ||
withOne<INTERNAL extends { | ||
@@ -479,2 +497,3 @@ [key in INTERNAL_PROP]: RESULT[EXTERNAL_PROP]; | ||
})>; | ||
/** @deprecated Use complex projections or aggregate as an object array instead */ | ||
withMany<INTERNAL extends { | ||
@@ -487,2 +506,3 @@ [key in INTERNAL_PROP]: RESULT[EXTERNAL_PROP]; | ||
})>; | ||
/** @deprecated Use complex projections or aggregate as an object array instead */ | ||
withOptionalMany<INTERNAL extends { | ||
@@ -489,0 +509,0 @@ [key in INTERNAL_PROP]: RESULT[EXTERNAL_PROP]; |
@@ -6,5 +6,7 @@ import type { ITableOrView } from "../utils/ITableOrView"; | ||
type OnlyStringKey<KEY> = KEY extends string ? KEY : never; | ||
/** @deprecated Use complex projections or aggregate as an object array instead */ | ||
export declare function prefixCapitalized<O extends object, PREFIX extends string>(obj: O, prefix: PREFIX): { | ||
[K in OnlyStringKey<keyof O> as `${PREFIX}${Capitalize<K>}`]: O[K]; | ||
}; | ||
/** @deprecated Use complex projections or aggregate as an object array instead */ | ||
export declare function prefixMapForSplitCapitalized<O extends object, PREFIX extends string>(obj: O, prefix: PREFIX): { | ||
@@ -14,2 +16,3 @@ [K in OnlyStringKey<keyof O> as K]: `${PREFIX}${Capitalize<K>}`; | ||
type CapitalizedGuided<PREFIX extends string, KEY extends string, REFERENCE extends object> = KEY extends keyof REFERENCE ? (REFERENCE[KEY] extends IValueSource<any, any, any, infer OPTIONAL_TYPE> ? (OPTIONAL_TYPE extends 'required' ? `${PREFIX}${Capitalize<KEY>}!` : `${PREFIX}${Capitalize<KEY>}`) : `${PREFIX}${Capitalize<KEY>}`) : `${PREFIX}${Capitalize<KEY>}`; | ||
/** @deprecated Use complex projections or aggregate as an object array instead */ | ||
export declare function prefixMapForGuidedSplitCapitalized<O extends object, R extends ITableOrView<any> | { | ||
@@ -21,2 +24,3 @@ [KEY in keyof O]?: AnyValueSource; | ||
type NameGuided<KEY extends string, REFERENCE extends object> = KEY extends keyof REFERENCE ? (REFERENCE[KEY] extends IValueSource<any, any, any, infer OPTIONAL_TYPE> ? (OPTIONAL_TYPE extends 'required' ? `${KEY}!` : KEY) : KEY) : KEY; | ||
/** @deprecated Use complex projections or aggregate as an object array instead */ | ||
export declare function mapForGuidedSplit<O extends object, R extends ITableOrView<any> | { | ||
@@ -27,5 +31,7 @@ [KEY in keyof O]?: AnyValueSource; | ||
}; | ||
/** @deprecated Use complex projections or aggregate as an object array instead */ | ||
export declare function prefixDotted<O extends object, PREFIX extends string>(obj: O, prefix: PREFIX): { | ||
[K in OnlyStringKey<keyof O> as `${PREFIX}.${K}`]-?: O[K]; | ||
}; | ||
/** @deprecated Use complex projections or aggregate as an object array instead */ | ||
export declare function prefixMapForSplitDotted<O extends object, PREFIX extends string>(obj: O, prefix: PREFIX): { | ||
@@ -35,2 +41,3 @@ [K in OnlyStringKey<keyof O> as K]-?: `${PREFIX}.${K}`; | ||
type DottedGuided<PREFIX extends string, KEY extends string, REFERENCE extends object> = KEY extends keyof REFERENCE ? (REFERENCE[KEY] extends IValueSource<any, any, any, infer OPTIONAL_TYPE> ? (OPTIONAL_TYPE extends 'required' ? `${PREFIX}.${KEY}!` : `${PREFIX}.${KEY}`) : `${PREFIX}.${KEY}`) : `${PREFIX}.${KEY}`; | ||
/** @deprecated Use complex projections or aggregate as an object array instead */ | ||
export declare function prefixMapForGuidedSplitDotted<O extends object, R extends ITableOrView<any> | { | ||
@@ -67,29 +74,56 @@ [KEY in keyof O]?: AnyValueSource; | ||
} ? true : never; | ||
/** @deprecated Use connection.dynamicBooleanExpressionUsing instead */ | ||
export declare function mergeType<VALUE extends IAnyBooleanValueSource<any, any>>(value: VALUE): true extends HasIfValueSource<VALUE> ? IfValueSource<VALUE[typeof tableOrView], MergeOptionalUnion<VALUE[typeof optionalType]>> : BooleanValueSource<VALUE[typeof tableOrView], MergeOptionalUnion<VALUE[typeof optionalType]>>; | ||
/** @deprecated Use connection.dynamicBooleanExpressionUsing instead */ | ||
export declare function mergeType<VALUE extends IStringIntValueSource<any, any>>(value: VALUE): StringIntValueSource<VALUE[typeof tableOrView], MergeOptionalUnion<VALUE[typeof optionalType]>>; | ||
/** @deprecated Use connection.dynamicBooleanExpressionUsing instead */ | ||
export declare function mergeType<VALUE extends IStringNumberValueSource<any, any>>(value: VALUE): StringNumberValueSource<VALUE[typeof tableOrView], MergeOptionalUnion<VALUE[typeof optionalType]>>; | ||
/** @deprecated Use connection.dynamicBooleanExpressionUsing instead */ | ||
export declare function mergeType<VALUE extends IIntValueSource<any, any>>(value: VALUE): IntValueSource<VALUE[typeof tableOrView], MergeOptionalUnion<VALUE[typeof optionalType]>>; | ||
/** @deprecated Use connection.dynamicBooleanExpressionUsing instead */ | ||
export declare function mergeType<VALUE extends INumberValueSource<any, any>>(value: VALUE): NumberValueSource<VALUE[typeof tableOrView], MergeOptionalUnion<VALUE[typeof optionalType]>>; | ||
/** @deprecated Use connection.dynamicBooleanExpressionUsing instead */ | ||
export declare function mergeType<VALUE extends ITypeSafeBigintValueSource<any, any>>(value: VALUE): TypeSafeBigintValueSource<VALUE[typeof tableOrView], MergeOptionalUnion<VALUE[typeof optionalType]>>; | ||
/** @deprecated Use connection.dynamicBooleanExpressionUsing instead */ | ||
export declare function mergeType<VALUE extends IBigintValueSource<any, any>>(value: VALUE): BigintValueSource<VALUE[typeof tableOrView], MergeOptionalUnion<VALUE[typeof optionalType]>>; | ||
/** @deprecated Use connection.dynamicBooleanExpressionUsing instead */ | ||
export declare function mergeType<VALUE extends IStringDoubleValueSource<any, any>>(value: VALUE): StringDoubleValueSource<VALUE[typeof tableOrView], MergeOptionalUnion<VALUE[typeof optionalType]>>; | ||
/** @deprecated Use connection.dynamicBooleanExpressionUsing instead */ | ||
export declare function mergeType<VALUE extends IStringNumberValueSource<any, any>>(value: VALUE): StringNumberValueSource<VALUE[typeof tableOrView], MergeOptionalUnion<VALUE[typeof optionalType]>>; | ||
/** @deprecated Use connection.dynamicBooleanExpressionUsing instead */ | ||
export declare function mergeType<VALUE extends IDoubleValueSource<any, any>>(value: VALUE): DoubleValueSource<VALUE[typeof tableOrView], MergeOptionalUnion<VALUE[typeof optionalType]>>; | ||
/** @deprecated Use connection.dynamicBooleanExpressionUsing instead */ | ||
export declare function mergeType<VALUE extends INumberValueSource<any, any>>(value: VALUE): NumberValueSource<VALUE[typeof tableOrView], MergeOptionalUnion<VALUE[typeof optionalType]>>; | ||
/** @deprecated Use connection.dynamicBooleanExpressionUsing instead */ | ||
export declare function mergeType<VALUE extends ITypeSafeStringValueSource<any, any>>(value: VALUE): TypeSafeStringValueSource<VALUE[typeof tableOrView], MergeOptionalUnion<VALUE[typeof optionalType]>>; | ||
/** @deprecated Use connection.dynamicBooleanExpressionUsing instead */ | ||
export declare function mergeType<VALUE extends IStringValueSource<any, any>>(value: VALUE): StringValueSource<VALUE[typeof tableOrView], MergeOptionalUnion<VALUE[typeof optionalType]>>; | ||
/** @deprecated Use connection.dynamicBooleanExpressionUsing instead */ | ||
export declare function mergeType<VALUE extends ILocalDateValueSource<any, any>>(value: VALUE): LocalDateValueSource<VALUE[typeof tableOrView], MergeOptionalUnion<VALUE[typeof optionalType]>>; | ||
/** @deprecated Use connection.dynamicBooleanExpressionUsing instead */ | ||
export declare function mergeType<VALUE extends IDateValueSource<any, any>>(value: VALUE): DateValueSource<VALUE[typeof tableOrView], MergeOptionalUnion<VALUE[typeof optionalType]>>; | ||
/** @deprecated Use connection.dynamicBooleanExpressionUsing instead */ | ||
export declare function mergeType<VALUE extends ILocalTimeValueSource<any, any>>(value: VALUE): LocalTimeValueSource<VALUE[typeof tableOrView], MergeOptionalUnion<VALUE[typeof optionalType]>>; | ||
/** @deprecated Use connection.dynamicBooleanExpressionUsing instead */ | ||
export declare function mergeType<VALUE extends ITimeValueSource<any, any>>(value: VALUE): TimeValueSource<VALUE[typeof tableOrView], MergeOptionalUnion<VALUE[typeof optionalType]>>; | ||
/** @deprecated Use connection.dynamicBooleanExpressionUsing instead */ | ||
export declare function mergeType<VALUE extends ILocalDateTimeValueSource<any, any>>(value: VALUE): LocalDateTimeValueSource<VALUE[typeof tableOrView], MergeOptionalUnion<VALUE[typeof optionalType]>>; | ||
/** @deprecated Use connection.dynamicBooleanExpressionUsing instead */ | ||
export declare function mergeType<VALUE extends IDateTimeValueSource<any, any>>(value: VALUE): DateTimeValueSource<VALUE[typeof tableOrView], MergeOptionalUnion<VALUE[typeof optionalType]>>; | ||
/** @deprecated Use connection.dynamicBooleanExpressionUsing instead */ | ||
export declare function mergeType<VALUE extends ICustomIntValueSource<any, any, any, any>>(value: VALUE): ICustomIntValueSource<VALUE[typeof tableOrView], VALUE[typeof valueType], VALUE[typeof valueSourceTypeName], MergeOptionalUnion<VALUE[typeof optionalType]>>; | ||
/** @deprecated Use connection.dynamicBooleanExpressionUsing instead */ | ||
export declare function mergeType<VALUE extends ICustomDoubleValueSource<any, any, any, any>>(value: VALUE): ICustomDoubleValueSource<VALUE[typeof tableOrView], VALUE[typeof valueType], VALUE[typeof valueSourceTypeName], MergeOptionalUnion<VALUE[typeof optionalType]>>; | ||
/** @deprecated Use connection.dynamicBooleanExpressionUsing instead */ | ||
export declare function mergeType<VALUE extends ICustomUuidValueSource<any, any, any, any>>(value: VALUE): ICustomUuidValueSource<VALUE[typeof tableOrView], VALUE[typeof valueType], VALUE[typeof valueSourceTypeName], MergeOptionalUnion<VALUE[typeof optionalType]>>; | ||
/** @deprecated Use connection.dynamicBooleanExpressionUsing instead */ | ||
export declare function mergeType<VALUE extends ICustomLocalDateValueSource<any, any, any, any>>(value: VALUE): ICustomLocalDateValueSource<VALUE[typeof tableOrView], VALUE[typeof valueType], VALUE[typeof valueSourceTypeName], MergeOptionalUnion<VALUE[typeof optionalType]>>; | ||
/** @deprecated Use connection.dynamicBooleanExpressionUsing instead */ | ||
export declare function mergeType<VALUE extends ICustomLocalTimeValueSource<any, any, any, any>>(value: VALUE): ICustomLocalTimeValueSource<VALUE[typeof tableOrView], VALUE[typeof valueType], VALUE[typeof valueSourceTypeName], MergeOptionalUnion<VALUE[typeof optionalType]>>; | ||
/** @deprecated Use connection.dynamicBooleanExpressionUsing instead */ | ||
export declare function mergeType<VALUE extends ICustomLocalDateTimeValueSource<any, any, any, any>>(value: VALUE): ICustomLocalDateTimeValueSource<VALUE[typeof tableOrView], VALUE[typeof valueType], VALUE[typeof valueSourceTypeName], MergeOptionalUnion<VALUE[typeof optionalType]>>; | ||
/** @deprecated Use connection.dynamicBooleanExpressionUsing instead */ | ||
export declare function mergeType<VALUE extends IEqualableValueSource<any, any, any, any>>(value: VALUE): EqualableValueSource<VALUE[typeof tableOrView], VALUE[typeof valueType], VALUE[typeof valueSourceTypeName], MergeOptionalUnion<VALUE[typeof optionalType]>>; | ||
/** @deprecated Use connection.dynamicBooleanExpressionUsing instead */ | ||
export declare function mergeType<VALUE extends IComparableValueSource<any, any, any, any>>(value: VALUE): ComparableValueSource<VALUE[typeof tableOrView], VALUE[typeof valueType], VALUE[typeof valueSourceTypeName], MergeOptionalUnion<VALUE[typeof optionalType]>>; | ||
export {}; |
@@ -6,2 +6,3 @@ "use strict"; | ||
const Column_1 = require("../utils/Column"); | ||
/** @deprecated Use complex projections or aggregate as an object array instead */ | ||
function prefixCapitalized(obj, prefix) { | ||
@@ -18,2 +19,3 @@ if (!obj) { | ||
exports.prefixCapitalized = prefixCapitalized; | ||
/** @deprecated Use complex projections or aggregate as an object array instead */ | ||
function prefixMapForSplitCapitalized(obj, prefix) { | ||
@@ -30,2 +32,3 @@ if (!obj) { | ||
exports.prefixMapForSplitCapitalized = prefixMapForSplitCapitalized; | ||
/** @deprecated Use complex projections or aggregate as an object array instead */ | ||
function prefixMapForGuidedSplitCapitalized(obj, reference, prefix) { | ||
@@ -48,2 +51,3 @@ if (!obj) { | ||
exports.prefixMapForGuidedSplitCapitalized = prefixMapForGuidedSplitCapitalized; | ||
/** @deprecated Use complex projections or aggregate as an object array instead */ | ||
function mapForGuidedSplit(obj, reference) { | ||
@@ -66,2 +70,3 @@ if (!obj) { | ||
exports.mapForGuidedSplit = mapForGuidedSplit; | ||
/** @deprecated Use complex projections or aggregate as an object array instead */ | ||
function prefixDotted(obj, prefix) { | ||
@@ -78,2 +83,3 @@ if (!obj) { | ||
exports.prefixDotted = prefixDotted; | ||
/** @deprecated Use complex projections or aggregate as an object array instead */ | ||
function prefixMapForSplitDotted(obj, prefix) { | ||
@@ -90,2 +96,3 @@ if (!obj) { | ||
exports.prefixMapForSplitDotted = prefixMapForSplitDotted; | ||
/** @deprecated Use complex projections or aggregate as an object array instead */ | ||
function prefixMapForGuidedSplitDotted(obj, reference, prefix) { | ||
@@ -385,2 +392,3 @@ if (!obj) { | ||
exports.extractWritableShapeFrom = extractWritableShapeFrom; | ||
/** @deprecated Use connection.dynamicBooleanExpressionUsing instead */ | ||
function mergeType(value) { | ||
@@ -387,0 +395,0 @@ return value; |
{ | ||
"name": "ts-sql-query", | ||
"version": "1.60.0", | ||
"version": "1.61.0", | ||
"description": "Type-safe SQL query builder like QueryDSL or JOOQ in Java or Linq in .Net for TypeScript with MariaDB, MySql, Oracle, PostgreSql, Sqlite and SqlServer support.", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
2523128
40181