Skip to content

Commit

Permalink
v1.7.4 release
Browse files Browse the repository at this point in the history
  • Loading branch information
ikkez committed Feb 15, 2022
1 parent c79cdff commit f56facd
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 5 deletions.
9 changes: 8 additions & 1 deletion changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
CHANGELOG - Cortex ORM

1.7.4 (15.02.2022)
* fix SQL function usage with multiple parameters, #110
* php 8.1 fixes

1.7.3 (15.03.2021)
* fix: getAll property on non-existing fields

1.7.2 (18.02.2021)
* new: orHas feature

Expand Down Expand Up @@ -186,4 +193,4 @@ CHANGELOG - Cortex ORM
* Bug fix: Jig filter bind value

1.0.0 (30.11.2013)
* init commit
* init commit
6 changes: 3 additions & 3 deletions lib/db/cortex.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@
* | | < | <| -__|-- __|
* |__|__|__||__|__|_____|_____|
*
* Copyright (c) 2021 by ikkez
* Copyright (c) 2022 by ikkez
* Christian Knuth <mail@ikkez.de>
* https://github.com/ikkez/F3-Sugar/
*
* @package DB
* @version 1.7.2
* @date 18.02.2021
* @version 1.7.4
* @date 15.02.2022
* @since 24.04.2012
*/

Expand Down
7 changes: 6 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ It's great for fast and easy data abstraction and offers a bunch of useful filte
2. [Options Array](#options)
7. [Advanced Filter Techniques](#advanced-filter-techniques)
1. [has](#has)
2. [filter](#filter)
2. [orHas](#orhas)
3. [filter](#filter)
8. [Insight into aggregation](#insight-into-aggregation)
1. [Counting Relations](#counting-relations)
2. [Virtual Fields](#virtual-fields)
Expand Down Expand Up @@ -917,6 +918,10 @@ Now you only load the last 3 published news written by me, which were tagged "Re

If you like, you can also call them in a fluent style: `$news->has(...)->load(...);`.

### orHas

Similar to has method, but adds the has condition with an OR operator.

### filter

The filter method is meant for limiting the results of relations. In example: load author x and only his news from 2014.
Expand Down

0 comments on commit f56facd

Please sign in to comment.