Skip to content

Releases: agungsugiarto/codeigniter4-repository

v1.1.0

01 Feb 15:25
1a60f25
Compare
Choose a tag to compare
Merge pull request #1 from agungsugiarto/upgrade-codeigniter

upgrade codeigniter

v1.0.10

28 Sep 10:56
Compare
Choose a tag to compare

get() method implement limit and offset.

Example:

/**
 * Get method implement parameter "select", "limit" and "offset".
 * The default will be select * and return all offset data.
 * 
 * Example: $this->news->get(['*'], 50, 100);
 */
$news = $this->news->get();

v1.0.9

19 Sep 10:18
Compare
Choose a tag to compare
Refactor pass to argument and added more testing

v1.0.8

14 Sep 05:22
Compare
Choose a tag to compare
added style to load instance of model

v1.0.7

14 Sep 03:20
Compare
Choose a tag to compare
added more comment

v1.0.6

10 Sep 02:56
Compare
Choose a tag to compare
add comment on interface

v1.0.5

25 Aug 11:25
Compare
Choose a tag to compare

Breaking changes

  • method findWhere() now change to $this, so you can chain to method get() or paginate()
$this->news->findWhere([
    // where id equals 1
   'id' => '1',
    // other "where" operations
    ['news_category_id', '<', '3'],
        ...
])->paginate()

v1.0.4

19 Aug 09:05
cc90046
Compare
Choose a tag to compare
Update README.md

v1.0.3

17 Aug 10:00
Compare
Choose a tag to compare
update comment

v1.0.2

17 Aug 08:02
Compare
Choose a tag to compare
add helper