forrest79 / phpgsql

Simple and fast PHP database library for PostgreSQL with auto converting DB types to PHP and fluent interface for SQL query writing.
Other
11 stars 3 forks source link

Remove Fluent\Sql interface #37

Closed forrest79 closed 5 months ago

forrest79 commented 7 months ago

Remove Fluent\Sql interface and have only Fluent\Query object (maybe Fluent\QueryImmutable extending Query). Also remove fluent methods from Fluent\Connection - is it useful to start fluent query right from the connection object? We can have here just two methods createQuery() or just query() (and maybe createImmutableQuery() or just immutableQuery()).

forrest79 commented 5 months ago

Done by 62e081e6d48f8d416d4b6614982be6e4ac31ab95.