hysteria-orm 12.2.1 → 12.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cli.js +6 -6
- package/lib/cli.js.map +1 -1
- package/lib/index.cjs +12 -12
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +9 -0
- package/lib/index.d.ts +9 -0
- package/lib/index.js +12 -12
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
package/lib/index.d.cts
CHANGED
|
@@ -4872,6 +4872,7 @@ declare abstract class JoinQueryBuilder<T extends Model, S extends Record<string
|
|
|
4872
4872
|
declare class SelectQueryBuilder<T extends Model, S extends Record<string, any> = Record<string, any>> extends JoinQueryBuilder<T, S> {
|
|
4873
4873
|
protected dbType: SqlDataSourceType;
|
|
4874
4874
|
protected modelSelectedColumns: string[];
|
|
4875
|
+
protected userOutputColumns: string[];
|
|
4875
4876
|
protected withQuery?: string;
|
|
4876
4877
|
protected fromNode: FromNode;
|
|
4877
4878
|
protected distinctNode: DistinctNode | null;
|
|
@@ -4893,6 +4894,14 @@ declare class SelectQueryBuilder<T extends Model, S extends Record<string, any>
|
|
|
4893
4894
|
* @description Adds a raw SELECT statement to the query
|
|
4894
4895
|
*/
|
|
4895
4896
|
selectRaw(statement: string): this;
|
|
4897
|
+
/**
|
|
4898
|
+
* @description Output names the user authored into the SELECT list: raw
|
|
4899
|
+
* statements, tuple aliases, and the aliases passed to selectFunc, window,
|
|
4900
|
+
* distinct-aggregate and JSON select helpers. The serializer returns these
|
|
4901
|
+
* keys verbatim instead of mapping them back to model property names.
|
|
4902
|
+
* @internal
|
|
4903
|
+
*/
|
|
4904
|
+
protected collectUserOutputNames(): string[];
|
|
4896
4905
|
/**
|
|
4897
4906
|
* @description Selects a SQL function applied to a column with a typed alias.
|
|
4898
4907
|
* @description Provides intellisense for common SQL functions while accepting any custom function.
|
package/lib/index.d.ts
CHANGED
|
@@ -4872,6 +4872,7 @@ declare abstract class JoinQueryBuilder<T extends Model, S extends Record<string
|
|
|
4872
4872
|
declare class SelectQueryBuilder<T extends Model, S extends Record<string, any> = Record<string, any>> extends JoinQueryBuilder<T, S> {
|
|
4873
4873
|
protected dbType: SqlDataSourceType;
|
|
4874
4874
|
protected modelSelectedColumns: string[];
|
|
4875
|
+
protected userOutputColumns: string[];
|
|
4875
4876
|
protected withQuery?: string;
|
|
4876
4877
|
protected fromNode: FromNode;
|
|
4877
4878
|
protected distinctNode: DistinctNode | null;
|
|
@@ -4893,6 +4894,14 @@ declare class SelectQueryBuilder<T extends Model, S extends Record<string, any>
|
|
|
4893
4894
|
* @description Adds a raw SELECT statement to the query
|
|
4894
4895
|
*/
|
|
4895
4896
|
selectRaw(statement: string): this;
|
|
4897
|
+
/**
|
|
4898
|
+
* @description Output names the user authored into the SELECT list: raw
|
|
4899
|
+
* statements, tuple aliases, and the aliases passed to selectFunc, window,
|
|
4900
|
+
* distinct-aggregate and JSON select helpers. The serializer returns these
|
|
4901
|
+
* keys verbatim instead of mapping them back to model property names.
|
|
4902
|
+
* @internal
|
|
4903
|
+
*/
|
|
4904
|
+
protected collectUserOutputNames(): string[];
|
|
4896
4905
|
/**
|
|
4897
4906
|
* @description Selects a SQL function applied to a column with a typed alias.
|
|
4898
4907
|
* @description Provides intellisense for common SQL functions while accepting any custom function.
|