Re: Converting Postgres SQL constraint logic to PHP?

Поиск
Список
Период
Сортировка
От Ken Tanzer
Тема Re: Converting Postgres SQL constraint logic to PHP?
Дата
Msg-id CAD3a31UM8AvVBVcEyK-A0JpNywoGvAZGzjSrthLZVrmwORmLvw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Converting Postgres SQL constraint logic to PHP?  (Ken Tanzer <ken.tanzer@gmail.com>)
Список pgsql-general
On Fri, Jun 10, 2016 at 2:23 PM, Ken Tanzer <ken.tanzer@gmail.com> wrote:
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! 

Ken



--
AGENCY Software  
A Free Software data system
By and for non-profits
(253) 245-3801

learn more about AGENCY or
follow the discussion.

В списке pgsql-general по дате отправления:

Предыдущее
От: Josh Kupershmidt
Дата:
Сообщение: Re: pg_tune replacement
Следующее
От: Alexander Farber
Дата:
Сообщение: Re: Moving from PHP to Java: A result was returned when none was expected.