Skip to content

Tags: bertugfahriozer/ci4commonModel

Tags

1.2.5

Toggle 1.2.5's commit message
Adds WHERE IN clause functionality to CommonModel::lists

1.2.4

Toggle 1.2.4's commit message
implement CI4 events, refactor PSR-4 structure and update docs

- Refactored package structure: moved CommonModel.php to src/ directory and updated namespace to 'ci4commonmodel'.
- Integrated 'CodeIgniter\Events\Events::trigger()' for 'create', 'edit', and 'remove' commands.
- Updated version tags to @Version 1.2.4.
- Upgraded phpDocumentor to v3.9.1 and rebuilt documentation with 'clean' template
- Converted PHPDoc @example blocks to Markdown formatted code blocks for better HTML rendering.
- Fixed linter warnings and namespace references in readme.md.

1.2.3

Toggle 1.2.3's commit message
Adds export-ignore attributes and array result

Adds .gitattributes file to exclude certain files and
directories from being exported.

Improves the CommonModel to handle null options for
'isReset' and adds support for returning results as an array.

1.2.2

Toggle 1.2.2's commit message
Improves CommonModel return types and adds DB guide

Updates the `research` and `notWhereInList` functions in `CommonModel` to return `object|null` instead of just `object`, indicating the possibility of no results.

Adds a troubleshooting guide to the README for configuring multiple database connection groups in CodeIgniter 4, explaining the root cause of connection errors and providing a solution by defining the database groups in `app/Config/Database.php`.

1.2.1

Toggle 1.2.1's commit message
Adds CommonModel Library documentation

Adds a comprehensive README.MD file to document the
CommonModel library for CodeIgniter 4.

This documentation includes installation instructions,
usage examples for various methods, and information on
table and database management features.

1.2.0

Toggle 1.2.0's commit message
Added new functions and improvements for database management

- Removed WhereWithJoins method
- Added functions for creating/dropping tables, adding/removing columns, renaming tables, and updating fields
- Added function to truncate all data from a table
- Added support for listing, creating, and deleting tables and databases
- Added function to list table columns
- Added functions to drop primary and foreign keys
- Updated code comments and usage examples throughout

1.1.11

Toggle 1.1.11's commit message
list function bugs fixed. (Return value must be of type array, stdCla…

…ss returned)

1.1.10

Toggle 1.1.10's commit message
notWhereInList bugs fixed.

1.1.9

Toggle 1.1.9's commit message
The documentation has been added and the README file has been updated.

1.1.8

Toggle 1.1.8's commit message
idea folder removed.