On Fri, Jun 10, 2016 at 1:47 PM, Steve Atkins <steve@blighty.com> wrote:
You could look at one of the existing SQL parsers implemented in PHP, and use those to parse the constraint to a tree from which you could easily pull PHP.
This one sounds most promising! I took a quick Google, and it looks like there are lots of them, and a heavy Mysql focus. Anyone have experience or suggestions about which of these might be best, and particularly for Postgres?
Hi. Just wanted to follow up one more time on this. Best parsers in PHP, especially for Postgres? Anyone? Thanks!