CodeIgniter4
CodeIgniter4 copied to clipboard
Open Source PHP Framework (originally from EllisLab)
**Description** I make this method because method promptByKey() just can read one value. **Checklist:** - [x] Securely signed commits - [x] Component(s) with PHPDoc blocks, only if necessary or adds...
**Description** Fixes #6245 Supersedes #6340 **Checklist:** - [x] Securely signed commits - [ ] Component(s) with PHPDoc blocks, only if necessary or adds value - [ ] Unit testing, with...
Follow-up #6249 This PR fixes https://github.com/codeigniter4/CodeIgniter4/issues/6351 In `Forge::createTable()` ```php // If table exists lets stop here if ($ifNotExists === true && $this->db->tableExists($table, false)) { $this->reset(); return true; } ``` This...
Bug: createTable() method in Forge class checks for table existence using cache and causes problems
### PHP Version 8.1 ### CodeIgniter4 Version 4.2.2 ### CodeIgniter4 Installation Method Composer (as dependency to an existing project) ### Which operating systems have you tested for this bug? macOS,...
### PHP Version 7.4 ### CodeIgniter4 Version 4.2.3 ### CodeIgniter4 Installation Method Composer (as dependency to an existing project) ### Which operating systems have you tested for this bug? Linux...
### PHP Version 7.4 ### CodeIgniter4 Version 4.2.3 ### CodeIgniter4 Installation Method Composer (using `codeigniter4/appstarter`) ### Which operating systems have you tested for this bug? Windows ### Which server did...
This PR adds ``RawSql`` type to ``BaseConnection->escape()``. It does not escape the ``RawSql``. This allows passing SQL functions in columns used for DML operations. For instance you could pass `CURRENT_TIMESTAMP()`...
This PR adds Upsert and UpsertBatch methods to builder. **Checklist:** - [x] Securely signed commits - [x] Component(s) with PHPDoc blocks, only if necessary or adds value - [x] Unit...
### CodeIgniter4 Version dev ### What happened? If you specify a custom error message for a field with an asterisk, the default error text will be used. This is due...