mirror of
https://github.com/zoriya/Kyoo.git
synced 2026-06-08 07:15:15 -04:00
Add /videos/:id?with=next,previous route
This commit is contained in:
+1
-1
@@ -124,7 +124,7 @@ export const jsonbObjectAgg = <T>(
|
||||
>`jsonb_object_agg(${sql.join([key, value], sql.raw(","))})`;
|
||||
};
|
||||
|
||||
export const jsonbAgg = <T>(val: SQL<T>) => {
|
||||
export const jsonbAgg = <T>(val: SQL<T> | SQLWrapper) => {
|
||||
return sql<T[]>`jsonb_agg(${val})`;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user