Format stuff

This commit is contained in:
Zoe Roux
2025-01-30 20:03:35 +01:00
parent 30bf2d9207
commit b16c2374c4
6 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ export function sqlarr(array: unknown[]) {
return `{${array.map((item) => `"${item}"`).join(",")}}`;
}
// TODO: upstream this
// See https://github.com/drizzle-team/drizzle-orm/issues/4044
// TODO: type values (everything is a `text` for now)
export function values(items: Record<string, unknown>[]) {
const [firstProp, ...props] = Object.keys(items[0]);