CodeIgniter4 icon indicating copy to clipboard operation
CodeIgniter4 copied to clipboard

Open Source PHP Framework (originally from EllisLab)

Results 299 CodeIgniter4 issues
Sort by recently updated
recently updated
newest added

https://github.com/codeigniter4/CodeIgniter4/blob/fbc5afa2651cdd55860df1033da90a8a75411bf5/system/Database/BaseBuilder.php#L1639-L1641 https://github.com/codeigniter4/CodeIgniter4/blob/fbc5afa2651cdd55860df1033da90a8a75411bf5/system/Database/BaseBuilder.php#L2032-L2034 The the first param type is not set. So you can pass an object. But what kind of object? The answer is like this: ```php $insertData = (object)...

question
database

What does CodeIgniter\Database\Forge::_attributeType change the type based on? (ANSI SQL?). Why does the following test code unset a type that cannot be used? https://github.com/codeigniter4/CodeIgniter4/blob/develop/tests/_support/Database/Migrations/20160428212500_Create_test_tables.php#L75-L94

question
database

``` $sql = "DELETE FROM `table_name` WHERE `feed_id` = " . $feed_id . " ORDER BY `date` ASC LIMIT 25"; // query to be executed $result = $this->db->table('table_name') ->where('feed_id', $feed_id)...

database
missing feature

**Describe the bug** In the CI4 spec, `query()` returns bool for write-type queries. But the current implementation of `execute()` returns Result object for all queries. Isn't it a bug? See...

bug
database

**Describe the bug** It is not entirely clear what the return value of [BaseUtils::optimizeTable](https://github.com/codeigniter4/CodeIgniter4/blob/develop/system/Database/BaseUtils.php#L126) is supposed to be, but from its usage in tests/system/Database/Live/DBUtilsTest, it appears to be cast as...

bug
database

- There seems to be missing a method to drop a primary key (which exists for foreign keys) in the Forge class. - It is also not possible to assign...

database
missing feature

I believe that the behavior of Entity::toRawArray is not correct and not fully tested. For example, I'll take a test https://github.com/codeigniter4/CodeIgniter4/blob/4cbfe2cd25ff8b08eee323cc734a2113cead8eb1/tests/system/EntityTest.php#L773-L792 If the toRawArray() method is called with arguments $onlyChanged...

bug
database

Add a new function to `Time` that displays only the necessary parts of a date & time needed to understand the reference. > a "smart" Date display that isn't relative;...

enhancement
new feature

I always wanted to test different config connection for the Email Library if it works or not. The thing is, i can do that with sending an message, but i...

new feature

Database/SQLite3/PreparedQuery::_execute(..) has todo note... finalize()

database
missing feature
dev