hysteria-orm 10.0.0 → 10.0.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.cjs +14 -14
- package/lib/cli.cjs.map +1 -1
- package/lib/cli.js +14 -14
- 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 +4 -3
- package/lib/index.d.ts +4 -3
- package/lib/index.js +12 -12
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
package/lib/index.d.cts
CHANGED
|
@@ -1931,7 +1931,7 @@ declare class SelectQueryBuilder<T extends Model> extends JoinQueryBuilder<T> {
|
|
|
1931
1931
|
protected withQuery?: string;
|
|
1932
1932
|
protected fromNode: FromNode;
|
|
1933
1933
|
protected distinctNode: DistinctNode | null;
|
|
1934
|
-
protected
|
|
1934
|
+
protected distinctOnNode: DistinctOnNode | null;
|
|
1935
1935
|
protected selectNodes: SelectNode[];
|
|
1936
1936
|
constructor(model: typeof Model, sqlDataSource: SqlDataSource);
|
|
1937
1937
|
/**
|
|
@@ -1996,7 +1996,8 @@ declare class SelectQueryBuilder<T extends Model> extends JoinQueryBuilder<T> {
|
|
|
1996
1996
|
*/
|
|
1997
1997
|
distinct(): this;
|
|
1998
1998
|
/**
|
|
1999
|
-
* @description Adds a DISTINCT ON clause to the query
|
|
1999
|
+
* @description Adds a DISTINCT ON clause to the query, does not stack, only the last one will be used
|
|
2000
|
+
* @warning Cannot use both DISTINCT and DISTINCT ON in the same query, only the DISTINCT ON will be used
|
|
2000
2001
|
* @postgresql Only usable with PostgreSQL
|
|
2001
2002
|
*/
|
|
2002
2003
|
distinctOn(...columns: ModelKey<T>[]): this;
|
|
@@ -3514,7 +3515,7 @@ declare class QueryBuilder<T extends Model = any> extends JsonQueryBuilder<T> {
|
|
|
3514
3515
|
/**
|
|
3515
3516
|
* @description Returns the query with database driver placeholders and the params
|
|
3516
3517
|
*/
|
|
3517
|
-
unWrap(
|
|
3518
|
+
unWrap(_dbType?: SqlDataSourceType): ReturnType<typeof AstParser.prototype.parse>;
|
|
3518
3519
|
/**
|
|
3519
3520
|
* @description Returns a deep clone of the query builder instance.
|
|
3520
3521
|
*/
|
package/lib/index.d.ts
CHANGED
|
@@ -1931,7 +1931,7 @@ declare class SelectQueryBuilder<T extends Model> extends JoinQueryBuilder<T> {
|
|
|
1931
1931
|
protected withQuery?: string;
|
|
1932
1932
|
protected fromNode: FromNode;
|
|
1933
1933
|
protected distinctNode: DistinctNode | null;
|
|
1934
|
-
protected
|
|
1934
|
+
protected distinctOnNode: DistinctOnNode | null;
|
|
1935
1935
|
protected selectNodes: SelectNode[];
|
|
1936
1936
|
constructor(model: typeof Model, sqlDataSource: SqlDataSource);
|
|
1937
1937
|
/**
|
|
@@ -1996,7 +1996,8 @@ declare class SelectQueryBuilder<T extends Model> extends JoinQueryBuilder<T> {
|
|
|
1996
1996
|
*/
|
|
1997
1997
|
distinct(): this;
|
|
1998
1998
|
/**
|
|
1999
|
-
* @description Adds a DISTINCT ON clause to the query
|
|
1999
|
+
* @description Adds a DISTINCT ON clause to the query, does not stack, only the last one will be used
|
|
2000
|
+
* @warning Cannot use both DISTINCT and DISTINCT ON in the same query, only the DISTINCT ON will be used
|
|
2000
2001
|
* @postgresql Only usable with PostgreSQL
|
|
2001
2002
|
*/
|
|
2002
2003
|
distinctOn(...columns: ModelKey<T>[]): this;
|
|
@@ -3514,7 +3515,7 @@ declare class QueryBuilder<T extends Model = any> extends JsonQueryBuilder<T> {
|
|
|
3514
3515
|
/**
|
|
3515
3516
|
* @description Returns the query with database driver placeholders and the params
|
|
3516
3517
|
*/
|
|
3517
|
-
unWrap(
|
|
3518
|
+
unWrap(_dbType?: SqlDataSourceType): ReturnType<typeof AstParser.prototype.parse>;
|
|
3518
3519
|
/**
|
|
3519
3520
|
* @description Returns a deep clone of the query builder instance.
|
|
3520
3521
|
*/
|