You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> results=ActiveRecord::Base.connection.execute("select sn from products")(12.8ms)selectsnfromproducts=>#<Mysql2::Result:0x00000001623d13d8
...
> results.size=>27706
> results.count=>27706
With Trilogy
> results=ActiveRecord::Base.connection.execute("select sn from products")(38.7ms)selectsnfromproducts=>#<Trilogy::Result:0x0000000127554f60
...
> results.size
...gems/irb-1.14.0/lib/irb.rb:1285:in`full_message': undefined method `size' foraninstanceofTrilogy::Result(NoMethodError)results.size
^^^^^
3.3.4:003 > results.count=> 27706
I am using : trilogy (2.9.0) and mysql2 (0.5.6)
Thank you
The text was updated successfully, but these errors were encountered:
Hi,
I'm unsure if Trilogy is designed as a direct replacement for Mysql2 without compatibility issues, but I've encountered one.
With MySQL2
With Trilogy
I am using : trilogy (2.9.0) and mysql2 (0.5.6)
Thank you
The text was updated successfully, but these errors were encountered: