Paister
DTDrizzle Team
•Created by Fabian B. on 1/15/2024 in #help
type "GEOMETRY(POINT)" does not exist
if i use this type in a normal select query, its working. But if I use a the query builder, the fromDriver value is already the correct type so i have to adjust the fromDriver cb :
fromDriver: (value) => {
const point =
typeof value === 'string'
? (fromDriver(value) as Point)
: (value as Point)
const [lng, lat] = point.coordinates
return { lat, lng }
},
12 replies