vitaly-m / postgis-diesel

Postgis types extension for Diesel framework
MIT License
37 stars 15 forks source link

Querying geometry with diesel #3

Closed garma83 closed 2 years ago

garma83 commented 2 years ago

Hi! Is it possible to query geometry with bounding boxes using this crate and diesel? Or will I have to use custom SQL for this?

vitaly-m commented 2 years ago

Hello, sorry for late response. It is not implemented yet in the library, but I've pushed proof of concept implementation into feature/bbox_operators branch, looks like it is possible to implement, please check commit

vitaly-m commented 2 years ago

Implemented, you can find some examples of usage in tests

garma83 commented 2 years ago

oh that is super cool thank you @vitaly-m