mirror of
https://example.com
synced 2024-11-24 06:16:39 +09:00
postgres can kiss my ass
This commit is contained in:
parent
30bedee17b
commit
90ecb119db
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ export default define(meta, paramDef, async (ps, user) => {
|
|||
}
|
||||
}
|
||||
|
||||
const cursed = `(note.userHost = ANY (ARRAY["${m.recommendedInstances.join('","')}"]))`;
|
||||
const cursed = `(note.userHost = ANY ('{"${m.recommendedInstances.join('","')}"}'::string[]))`;
|
||||
console.log(cursed);
|
||||
//#region Construct query
|
||||
const query = makePaginationQuery(Notes.createQueryBuilder('note'),
|
||||
|
|
Loading…
Reference in a new issue