Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/simstudioai/sim
/ getOrderBy
Function
getOrderBy
apps/sim/app/api/v1/logs/filters.ts:106–110 ·
view source on GitHub ↗
(order: 'desc' | 'asc' = 'desc')
Source
from the content-addressed store, hash-verified
104
}
105
106
export
function
getOrderBy(order:
'desc'
|
'asc'
=
'desc'
) {
107
return
order ===
'desc'
108
? desc(workflowExecutionLogs.startedAt)
109
: sql`${workflowExecutionLogs.startedAt} ASC`
110
}
Callers
1
route.ts
File · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected