Skip to content

Commit f56facd

Browse files
committed
v1.7.4 release
1 parent c79cdff commit f56facd

File tree

3 files changed

+17
-5
lines changed

3 files changed

+17
-5
lines changed

changelog.txt

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
CHANGELOG - Cortex ORM
22

3+
1.7.4 (15.02.2022)
4+
* fix SQL function usage with multiple parameters, #110
5+
* php 8.1 fixes
6+
7+
1.7.3 (15.03.2021)
8+
* fix: getAll property on non-existing fields
9+
310
1.7.2 (18.02.2021)
411
* new: orHas feature
512

@@ -186,4 +193,4 @@ CHANGELOG - Cortex ORM
186193
* Bug fix: Jig filter bind value
187194

188195
1.0.0 (30.11.2013)
189-
* init commit
196+
* init commit

lib/db/cortex.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313
* | | < | <| -__|-- __|
1414
* |__|__|__||__|__|_____|_____|
1515
*
16-
* Copyright (c) 2021 by ikkez
16+
* Copyright (c) 2022 by ikkez
1717
* Christian Knuth <[email protected]>
1818
* https://github.com/ikkez/F3-Sugar/
1919
*
2020
* @package DB
21-
* @version 1.7.2
22-
* @date 18.02.2021
21+
* @version 1.7.4
22+
* @date 15.02.2022
2323
* @since 24.04.2012
2424
*/
2525

readme.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ It's great for fast and easy data abstraction and offers a bunch of useful filte
5050
2. [Options Array](#options)
5151
7. [Advanced Filter Techniques](#advanced-filter-techniques)
5252
1. [has](#has)
53-
2. [filter](#filter)
53+
2. [orHas](#orhas)
54+
3. [filter](#filter)
5455
8. [Insight into aggregation](#insight-into-aggregation)
5556
1. [Counting Relations](#counting-relations)
5657
2. [Virtual Fields](#virtual-fields)
@@ -917,6 +918,10 @@ Now you only load the last 3 published news written by me, which were tagged "Re
917918

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

921+
### orHas
922+
923+
Similar to has method, but adds the has condition with an OR operator.
924+
920925
### filter
921926

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

0 commit comments

Comments
 (0)