mirror of
https://github.com/ilyakooo0/sc-build.git
synced 2024-11-23 20:39:24 +03:00
Fixed bad query
This commit is contained in:
parent
2de68b5e53
commit
15bbe146fd
@ -112,7 +112,9 @@ pickTasksQuery tasks limitCount = do
|
||||
( from (table #tasks)
|
||||
& where_ (#task `in_` (literal <$> tasks))
|
||||
& where_ (not_ . notNull $ #started)
|
||||
& orderBy [#creation_time & Asc]
|
||||
& limit limitCount
|
||||
& orderBy [#creation_time & Desc]
|
||||
)
|
||||
startedMan :: Manipulation_ Schema (String, Jsonb Value) ()
|
||||
startedMan =
|
||||
|
Loading…
Reference in New Issue
Block a user