Hi all,
I'm aware that the Database class is executing all SQL queries at once after preparing, is it possible to fully execute a database query per function call?
Cheers
Printable View
Hi all,
I'm aware that the Database class is executing all SQL queries at once after preparing, is it possible to fully execute a database query per function call?
Cheers
Not sure what do you mean (prepare() function does not execute the query), but this is you might want:
[code=php:1op53wng]<span class="syntaxdefault">
$objAsd*</span><span class="syntaxkeyword">=*</span><span class="syntaxdefault">$this</span><span class="syntaxkeyword">-></span><span class="syntaxdefault">Database</span><span class="syntaxkeyword">-></span><span class="syntaxdefault">prepare</span><span class="syntaxkeyword">(</span><span class="syntaxstring">"..."</span><span class="syntaxkeyword">)-></span><span class="syntaxdefault">executeUncached</span><span class="syntaxkeyword">();
*</span><span class="syntaxdefault"></span>[/code:1op53wng]