📄️ Preparing The Model
Preparing The Model
📄️ Setting A Point
Setting a Point Column
📄️ Setting A Polygon
Setting a Polygon Column
📄️ Search For Points Within a Polygon Boundary
Search For Points Within a Polygon Boundary
📄️ Testing
Since by default, sqlite doesn't support spatial columns, the HasSpatial trait adds a toTestDbString that supports testing the geospatial column for both MySQL and sqlite.