Displaying 1 result from an estimated 1 matches for "nuodb".
Did you mean:
nodb
2012 Sep 11
3
question about how to set up an active record adapter to prefer use of prepared statements...
...ddrs.user_id = 153 FETCH FIRST 1 ROWS ONLY
I do have this hook set up:
def supports_statement_cache?
trueend
And I added this, but I am not familiar with its function, copying from
another driver:
if @config.fetch(:prepared_statements) { true }
@visitor = Arel::Visitors::NuoDB.new self
else
@visitor = BindSubstitution.new self
end
Is there anything I need to do to get more statements run as prepared
statements instead of ordinary ones?
Thanks in advance,
Bob
--
You received this message because you are subscribed to the Google Groups "...