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

Strict types on row #33

Open forrest79 opened 2 years ago

forrest79 commented 2 years ago

Think about how to use strict types on a row for PHPStan (maybe IDE suggest) without a need to create row object for every select.

forrest79 commented 2 years ago

Look at https://github.com/CuyZ/Valinor

forrest79 commented 8 months ago

I still don't know how to do this without specialized value objects for every result or with https://github.com/forrest79/phpgsql-extension-repository-example/blob/master/src/Database/Value.php