We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trying to use limit method $this->db->limit(1);
$this->db->limit(1);
Fatal error: Uncaught Error: Call to undefined method DB::_limit() in C:\laragon\www\codemarket\system\library\db.php:1773 Stack trace: #0
C:\laragon\www\codemarket\system\library\db.php(889): DB->_compile_select() #1
The text was updated successfully, but these errors were encountered:
Wrote simply method only to avoid that error, need some more tests and implementation:
public function _limit($sql, $limit, $offset = 1) { if (!is_numeric($offset)) { $offset = 1; } $sql .= " LIMIT {$limit}, {$offset}"; return $sql; }
Sorry, something went wrong.
No branches or pull requests
Trying to use limit method
$this->db->limit(1);
Fatal error: Uncaught Error: Call to undefined method DB::_limit() in C:\laragon\www\codemarket\system\library\db.php:1773 Stack trace: #0
C:\laragon\www\codemarket\system\library\db.php(889): DB->_compile_select() #1
The text was updated successfully, but these errors were encountered: