PHP-MySQLi-Database-Class icon indicating copy to clipboard operation
PHP-MySQLi-Database-Class copied to clipboard

Using with namespaces

Open BruTru opened this issue 4 years ago • 0 comments

Currently, the library does not manage name spaces. For example, my User class is in the ClassesFramework namespace. So, the name of the table in mysql must be classes\framework\user.

I created a DbMyAppObject object which inherits from DbObject and which removes the namespace in $this->dbTable. But this must also be done when using jointures.

Is it possible to have as default behavior the removal of the namespace of the classes for the generation of SQL?

BruTru avatar Nov 05 '21 13:11 BruTru