@graffy/pg 0.15.12 → 0.15.14-alpha.1

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.
@@ -5,12 +5,13 @@
5
5
  @param {object} options
6
6
 
7
7
  @typedef { import('sql-template-tag').Sql } Sql
8
- @return {{ meta: Sql, where: Sql[], order?: Sql, limit: number }}
8
+ @return {{ meta: Sql, where: Sql[], order?: Sql, group?: Sql, limit: number }}
9
9
  */
10
10
  export default function getArgSql({ $first, $last, $after, $before, $since, $until, $all, $cursor: _, ...rest }: object, options: object): {
11
11
  meta: Sql;
12
12
  where: Sql[];
13
13
  order?: Sql;
14
+ group?: Sql;
14
15
  limit: number;
15
16
  };
16
17
  /**
@@ -2,3 +2,4 @@ export function getIdMeta({ idCol }: {
2
2
  idCol: any;
3
3
  }): import("sql-template-tag").Sql;
4
4
  export function getArgMeta(key: any, prefix: any, idCol: any): import("sql-template-tag").Sql;
5
+ export function getAggMeta(key: any, $group: any): import("sql-template-tag").Sql;
@@ -1,2 +1,2 @@
1
- export function selectByArgs(args: any, options: any): import("sql-template-tag").Sql;
2
- export function selectByIds(ids: any, options: any): import("sql-template-tag").Sql;
1
+ export function selectByArgs(args: any, projection: any, options: any): import("sql-template-tag").Sql;
2
+ export function selectByIds(ids: any, projection: any, options: any): import("sql-template-tag").Sql;
@@ -1,2 +1,3 @@
1
1
  export function patch(object: any, arg: any, options: any): import("sql-template-tag").Sql;
2
2
  export function put(object: any, arg: any, options: any): import("sql-template-tag").Sql;
3
+ export function del(arg: any, options: any): import("sql-template-tag").Sql;