mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 03:19:46 +00:00
question: isn't Kysely immutable?
cc https://www.kysely.dev/docs/getting-started#querying
This commit is contained in:
parent
bbd692c58f
commit
8b050e7df1
1 changed files with 1 additions and 1 deletions
|
|
@ -327,7 +327,7 @@ class EventsDB extends NPostgres {
|
|||
.where('domain', 'in', [...domains]);
|
||||
|
||||
if (filter.authors) {
|
||||
query.where('pubkey', 'in', filter.authors);
|
||||
query.where('pubkey', 'in', filter.authors); // isn't Kysely immutable?
|
||||
}
|
||||
|
||||
const pubkeys = await query.execute().then((rows) => rows.map((row) => row.pubkey));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue