I tried executing this code on my local database and while the entry gets inserted, point is always NULL. Any ideas?
point = %Mariaex.Geometry.Point{srid: 0, coordinates: {1, 1}}
:ok = query(~s{INSERT INTO #{table} (id, point) VALUES (?, ?)}, [1, point])
I tried executing this code on my local database and while the entry gets inserted, point is always NULL. Any ideas?
point = %Mariaex.Geometry.Point{srid: 0, coordinates: {1, 1}}
:ok = query(~s{INSERT INTO #{table} (id, point) VALUES (?, ?)}, [1, point])