ezSQL / ezsql

PHP class to make interacting with a database ridiculusly easy
http://ezsql.github.io/ezsql
GNU Lesser General Public License v3.0
866 stars 291 forks source link

Setting Table Name and Prefix #198

Closed GokhanKR closed 3 years ago

GokhanKR commented 3 years ago

Describe the solution you'd like It might be nice to set the table name and prefix globally in advance.

Additional context ` $ezsql->table('users_table', 'usersprefix');

$ezsql->selecting(...) `

TheTechsTech commented 3 years ago

That's seems doable, but will require some internal routines structural changes, breaking changes.

That should be targeted towards another major version update.

I just created another branch v5. If you want to submit PR, do so on that branch.

TheTechsTech commented 3 years ago

Implemented in current release https://github.com/ezSQL/ezsql/releases/tag/5.0.0