Displaying 1 result from an estimated 1 matches for "create_delay".
Did you mean:
create_delayed
2008 Apr 24
0
ActiveRecord - INSERT options for MySQL
...ral points in
which access to INSERT statement options would be extremely useful.
I''m using MySQL, where there is scope for the INSERT DELAYED syntax,
and I''ve been trying to work out how to write a patch to add the
functionality to the MySQL ActiveRecord library for a new method-
create_delayed().
I am asking for advice on how best to write the method and integrate
it. I don''t think passing an option in the same way as :includes is
really the optimal solution as INSERT DELAYED does not return an ID
value as .create or .new/.save does, and so to keep this assumption
correct, so...