mirror of
https://github.com/aljazceru/ditto.git
synced 2026-02-01 03:24:19 +01:00
question: isn't Kysely immutable?
cc https://www.kysely.dev/docs/getting-started#querying
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user