mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 07:35:34 -05:00
try scalars
This commit is contained in:
@@ -237,7 +237,7 @@ def find_jobs_with_missing_rows():
|
|||||||
.having(func.count(Notification.id) != Job.notification_count)
|
.having(func.count(Notification.id) != Job.notification_count)
|
||||||
)
|
)
|
||||||
|
|
||||||
return db.session.execute(jobs_with_rows_missing).scalar().all()
|
return db.session.execute(jobs_with_rows_missing).scalars().all()
|
||||||
|
|
||||||
|
|
||||||
def find_missing_row_for_job(job_id, job_size):
|
def find_missing_row_for_job(job_id, job_size):
|
||||||
|
|||||||
Reference in New Issue
Block a user