Created
August 14, 2012 07:15
-
-
Save Menencia/3347138 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// ORM request | |
$v = ORM::factory('user')->where('activated', '=', 1); | |
// Checks the number of results | |
$x = clone $v; | |
var_dump($x->count_all()); | |
// Operations that would change the number of results | |
// [...] | |
// Then execute the request | |
$v->find_all(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment