class Fx::Adapters::Postgres::Connection
Decorates an ActiveRecord connection with methods that help determine the connections capabilities.
Every attempt is made to use the versions of these methods defined by Rails where they are available and public before falling back to our own implementations for older Rails versions.
@api private
Public Instance Methods
support_drop_function_without_args()
click to toggle source
www.postgresql.org/docs/9.6/sql-dropfunction.html www.postgresql.org/docs/10/sql-dropfunction.html
# File lib/fx/adapters/postgres/connection.rb, line 15 def support_drop_function_without_args pg_connection = undecorated_connection.raw_connection pg_connection.server_version >= 10_00_00 end
Private Instance Methods
undecorated_connection()
click to toggle source
# File lib/fx/adapters/postgres/connection.rb, line 22 def undecorated_connection __getobj__ end