@iterativeflow/mysql 2.1.0 → 2.1.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.
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -17,7 +17,7 @@ const createMysqlQueue = (sql, t, id) => {
|
|
|
17
17
|
const at = ms(now);
|
|
18
18
|
const expiresAt = new Date(at + leaseMs);
|
|
19
19
|
return sql.tx(async (tx) => {
|
|
20
|
-
const namePredicate = names ? ` AND r.name IN (${names.map(() => "?").join(",")})` : "";
|
|
20
|
+
const namePredicate = names ? ` AND (r.name IS NULL OR r.name IN (${names.map(() => "?").join(",")}))` : "";
|
|
21
21
|
const params = names ? [
|
|
22
22
|
at,
|
|
23
23
|
at,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@iterativeflow/mysql",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"access": "public"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@iterativeflow/core": "2.1.
|
|
28
|
+
"@iterativeflow/core": "2.1.1"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"mysql2": ">=3.0.0"
|