sql-love 1.1.0 → 1.1.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/LICENSE.md CHANGED
@@ -1,5 +1,5 @@
1
1
  ISC License (ISC)
2
- Copyright 2023-2025 Ken Snyder
2
+ Copyright 2023-2026 Ken Snyder
3
3
 
4
4
  Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
5
5
 
package/README.md CHANGED
@@ -1,15 +1,13 @@
1
- <img alt="SQL Love Logo" src="https://github.com/kensnyder/sql-love/raw/main/assets/sql-love-logo.png?v=1.1.0" width="250" height="208" />
1
+ <img alt="SQL Love Logo" src="https://github.com/kensnyder/sql-love/raw/main/assets/sql-love-logo.png?v=1.1.2" width="250" height="208" />
2
2
 
3
3
  # sql-love
4
4
 
5
- [![NPM Link](https://badgen.net/npm/v/sql-love?v=1.1.0)](https://npmjs.com/package/sql-love)
6
- [![Language](https://badgen.net/static/language/TS?v=1.1.0)](https://github.com/search?q=repo:kensnyder/sql-love++language:TypeScript&type=code)
7
- [![Build Status](https://github.com/kensnyder/sql-love/actions/workflows/node.js.yml/badge.svg?v=1.1.0)](https://github.com/kensnyder/sql-love/actions)
8
- [![Code Coverage](https://codecov.io/gh/kensnyder/sql-love/branch/main/graph/badge.svg?v=1.1.0)](https://codecov.io/gh/kensnyder/sql-love)
9
- ![GzippedSize](https://deno.bundlejs.com/?q=asql-love&badge&v=1.1.0)
5
+ [![Language](https://badgen.net/static/language/TS?v=1.1.2)](https://github.com/search?q=repo:kensnyder/sql-love++language:TypeScript&type=code)
6
+ [![Code Coverage](https://codecov.io/gh/kensnyder/sql-love/branch/main/graph/badge.svg?v=1.1.2)](https://codecov.io/gh/kensnyder/sql-love)
10
7
  ![Dependencies](https://badgen.net/static/dependencies/0/green)
11
- [![Tree shakeable](https://badgen.net/bundlephobia/tree-shaking/sql-love?v=1.1.0)](https://www.npmjs.com/package/sql-love)
12
- [![ISC License](https://badgen.net/static/license/ISC/green?v=1.1.0)](https://opensource.org/licenses/ISC)
8
+ ![Tree shakeable](https://badgen.net/static/tree%20shakeable/Yes/green)
9
+ ![Gzip Size](https://badgen.net/static/gzip%20size/9kb/blue)
10
+ [![ISC License](https://badgen.net/static/license/ISC/green?v=1.1.2)](https://opensource.org/licenses/ISC)
13
11
 
14
12
  Classes for parsing and building SQL select queries in Node/Bun/Deno.
15
13
 
@@ -68,7 +66,7 @@ if (areaCode) {
68
66
  }
69
67
  query.sort(sortField);
70
68
  query.limit(limitTo);
71
- const { sql, bindings } = query.compile();
69
+ const { sql, bindings } = query.compile({ engine: 'pg' });
72
70
 
73
71
  //
74
72
  // Then execute the SQL in your preferred client: