Parallelize SQL queries
This commit is contained in:
parent
86b4da1ec2
commit
c64762858e
178 changed files with 3377 additions and 3618 deletions
|
@ -67,11 +67,3 @@ export function strictAssert(condition: unknown, message: string): void {
|
|||
throw new Error(message);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Asserts that the type of value is not a promise.
|
||||
* (Useful for database modules)
|
||||
*/
|
||||
export function assertSync<T, X>(value: T extends Promise<X> ? never : T): T {
|
||||
return value;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue