softberg / quantum-php-core

Quantum PHP Framework
http://quantumphp.io
MIT License
31 stars 13 forks source link

Modification of DbalInterface::get() Method #151

Closed armanist closed 2 months ago

armanist commented 2 months ago

Currently, our application supports two ORMs:

SleekDB (NoSQL DB): The get() method returns an array of arrays. IdiORM (SQL DB): The get() method returns an array of arrays when called without an argument, and an array of objects when passed the boolean true.

Requirements: Modify the get() method in the DbalInterface to always return an array of objects for both ORMs. Ensure that the get() method no longer accepts any arguments.

Additional Tasks: Update the unit tests to reflect these changes and ensure proper coverage