Results 1 to 2 of 2

Thread: Turning off cached queries

  1. #1
    User
    Join Date
    08-07-09.
    Location
    Kent, United Kingdom
    Posts
    92

    Default Turning off cached queries

    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

  2. #2
    User
    Join Date
    07-26-09.
    Posts
    175

    Default Re: Turning off cached queries

    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]

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •