- Abstract shared sql code to a new drizzle package - Adds sqlite package, not ready to publish until drizzle patches some issues - Add `transactionOptions` to allow customizing or disabling db transactions - Adds "experimental" label to the `schemaName` property until drizzle patches an issue
4 lines
130 B
TypeScript
4 lines
130 B
TypeScript
export const formatJSONPathSegment = (segment: string) => {
|
|
return Number.isNaN(parseInt(segment)) ? `'${segment}'` : segment
|
|
}
|