결과를 “next/privous/first/last”로 검색할 수 있습니다.
이를 위해 전체 결과를 메모리에 로드합니다
stdClass Object ( [idx] => 1 [name] => test1 [title] => title-test1 [email] => test1@test.com ) stdClass Object ( [idx] => 2 [name] => test2 [title] => title-test2 [email] => test2@test.com ) stdClass Object ( [idx] => 1 [name] => test1 [title] => title-test1 [email] => test1@test.com ) stdClass Object ( [idx] => 3 [name] => test3 [title] => title-test3 [email] => test3@test.com )
“array”를 전달하면 결과를 배열로 반환합니다
Array ( [idx] => 1 [name] => test1 [title] => title-test1 [email] => test1@test.com ) Array ( [idx] => 2 [name] => test2 [title] => title-test2 [email] => test2@test.com ) Array ( [idx] => 1 [name] => test1 [title] => title-test1 [email] => test1@test.com ) Array ( [idx] => 3 [name] => test3 [title] => title-test3 [email] => test3@test.com )