pounard / goat-query

Goat SQL query builder built over a PHP to SQL and SQL to PHP type converter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create an Expression factory

pounard opened this issue · comments

People have to know every variation, using a factory it would be much simpler for users with a good IDE providing auto-completion to work with it.

The more I think about it, the less I think it's obvious we need an expression factory. Maybe some plain functions in some namespace, but I'm not sure it's even that necessary for developer experience.