Browse Source

fix complex example

fix complex example
tags/2.0.14.2
Spell6inder 7 years ago committed by GitHub
parent
commit
ef757db054
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      framework/db/conditions/BetweenColumnsCondition.php

2
framework/db/conditions/BetweenColumnsCondition.php

@ -32,7 +32,7 @@ use yii\db\Query;
* ); * );
* *
* // Will be built to: * // Will be built to:
* // NOW() BETWEEN (SELECT time FROM log ORDER BY id ASC LIMIT 1) AND update_time * // NOW() NOT BETWEEN (SELECT time FROM log ORDER BY id ASC LIMIT 1) AND update_time
* ``` * ```
* *
* @author Dmytro Naumenko <d.naumenko.a@gmail.com> * @author Dmytro Naumenko <d.naumenko.a@gmail.com>

Loading…
Cancel
Save