Displaying 1 result from an estimated 1 matches for "bobbuck".
2012 Sep 11
3
question about how to set up an active record adapter to prefer use of prepared statements...
Hi,
I am writing an active record adapter for our new database and when I run
the tests I see lots of statements that could be run as prepared
statements, but instead of passing me bindings AR passes me a fully
specialized SQL string, not in all cases, but in many. Here is an example:
SELECT addrs.* FROM addrs WHERE addrs.user_id = 153 FETCH FIRST 1 ROWS ONLY
I do have this hook set up: