mirror of
https://github.com/Fabio286/antares.git
synced 2025-06-05 21:59:22 +02:00
Compare commits
2 Commits
v0.7.35-be
...
master
Author | SHA1 | Date | |
---|---|---|---|
6c9792f512 | |||
8f84892f07 |
4
.github/FUNDING.yml
vendored
4
.github/FUNDING.yml
vendored
@@ -1,6 +1,6 @@
|
||||
# These are supported funding model platforms
|
||||
|
||||
github: [antares-sql,fabio286]
|
||||
github: # [antares-sql,fabio286]
|
||||
patreon: #fabio286
|
||||
open_collective: # Replace with a single Open Collective username
|
||||
ko_fi: # Replace with a single Ko-fi username
|
||||
@@ -9,4 +9,4 @@ community_bridge: # Replace with a single Community Bridge project-name e.g., cl
|
||||
liberapay: # Replace with a single Liberapay username
|
||||
issuehunt: # Replace with a single IssueHunt username
|
||||
otechie: # Replace with a single Otechie username
|
||||
custom: ['https://paypal.me/fabiodistasio']
|
||||
custom: # ['https://paypal.me/fabiodistasio']
|
||||
|
@@ -221,7 +221,7 @@ export default (connections: Record<string, antares.Client>) => {
|
||||
.update({ [params.field]: `= ${escapedParam}` })
|
||||
.schema(params.schema)
|
||||
.from(params.table)
|
||||
.where({ [params.primary]: `= ${sqlEscaper(id)}` })
|
||||
.where({ [params.primary]: `= ${typeof id === 'string' ? sqlEscaper(id) : id}` })
|
||||
.limit(1)
|
||||
.run();
|
||||
}
|
||||
|
Reference in New Issue
Block a user