Fixed orm:0.8-2 notice

This commit is contained in:
xdrm-brackets 2017-09-10 17:19:08 +02:00
parent ce9bee052c
commit 798f346a66
1 changed files with 3 additions and 1 deletions

View File

@ -136,9 +136,11 @@ Note: `Rows::COND_EQUAL` is set by default if missing
> #### (2.6) Where clause
The where clause uses one of php's magic functions (__call). So the name of the method you call will contain the field of the condition. But you must use the correct case, removing '_' and setting the next character to upper case. The rest will be forced to lower case.
The where clause uses one of php's magic functions (\_\_call). So the name of the method you call will contain the field of the condition. But you must use the correct case, removing '\_' and setting the next character to upper case. The rest will be forced to lower case.
You can refer to the following examples:
|Field|condition|
|---|---|
|username|`whereUsername`|