Работа над проектом

This commit is contained in:
Book Pauk
2022-08-25 19:01:05 +07:00
parent cfb8e44c0f
commit a6b2b102ae
4 changed files with 62 additions and 32 deletions

View File

@@ -252,7 +252,7 @@ class DbSearcher {
//выборка найденных авторов
let result = await db.select({
table: 'author',
map: `(r) => ({id: r.id, author: r.author})`,
map: `(r) => ({id: r.id, author: r.author, bookCount: r.bookCount, bookDelCount: r.bookDelCount})`,
where: `@@id(${db.esc(authorIds.slice(offset, offset + limit))})`
});