Fixed orm:0.8-2 notice
This commit is contained in:
parent
ce9bee052c
commit
798f346a66
|
@ -136,9 +136,11 @@ Note: `Rows::COND_EQUAL` is set by default if missing
|
||||||
|
|
||||||
> #### (2.6) Where clause
|
> #### (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:
|
You can refer to the following examples:
|
||||||
|
|
||||||
|
|
||||||
|Field|condition|
|
|Field|condition|
|
||||||
|---|---|
|
|---|---|
|
||||||
|username|`whereUsername`|
|
|username|`whereUsername`|
|
||||||
|
|
Loading…
Reference in New Issue