fieldSql
A table row field as SQL: indexes are on exactly this expression (fields are checked, so it's inlined).
export const fieldSql = (f: string): string => `json_extract(data, '$."${f}"')`
A table row field as SQL: indexes are on exactly this expression (fields are checked, so it's inlined).
export const fieldSql = (f: string): string => `json_extract(data, '$."${f}"')`