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

Improve DataTypeCache in devel mode #10

Closed forrest79 closed 4 years ago

forrest79 commented 4 years ago

Or maybe just throw exception with some hint like - this type is not in the cache, try to reload it with delete file (and opcache). This could be done everytime, not only in devel mode.

forrest79 commented 4 years ago

Try to determine, if PostgreSQL has info about last DB structure update. If this exists, we can reload cache on devel, when this was changed.

forrest79 commented 4 years ago

Right now solved with descriptive exception.