Forgot some SQLite BS... :)

This commit is contained in:
BurnyLlama 2021-11-01 19:56:38 +01:00
parent f4213888a8
commit 7fff166c3e

View File

@ -33,7 +33,7 @@ export default function searcher(table, matchField=undefined, matchQuery=undefin
`) `)
.get({ .get({
matchQuery matchQuery
}) })['count(*)']
if (method === "all" && page > pageCount) if (method === "all" && page > pageCount)
reject(`Page number too high! Page count: ${pageCount}`) reject(`Page number too high! Page count: ${pageCount}`)