diff options
author | Alex Kitchens <alexcameron98@gmail.com> | 2016-09-25 19:50:02 -0500 |
---|---|---|
committer | Alex Kitchens <alexcameron98@gmail.com> | 2016-09-25 20:07:42 -0500 |
commit | 65f694ff2940f75b648454a77951f6c63d318fa9 (patch) | |
tree | c1f5442d3643f1059a459f58ca5c83978dc9b9a9 /activerecord/lib | |
parent | f08a2834732eb64f1f5cb2c4c8528b3305ae1054 (diff) | |
download | rails-65f694ff2940f75b648454a77951f6c63d318fa9.tar.gz rails-65f694ff2940f75b648454a77951f6c63d318fa9.tar.bz2 rails-65f694ff2940f75b648454a77951f6c63d318fa9.zip |
[ci skip] Clarify Postgresql Documentation
This clarifies the object that +ActiveRecord::Base.connection.execute+
will return when using Postgresql.
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/postgresql/database_statements.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/postgresql/database_statements.rb b/activerecord/lib/active_record/connection_adapters/postgresql/database_statements.rb index 7414eba6c5..24ee442d3d 100644 --- a/activerecord/lib/active_record/connection_adapters/postgresql/database_statements.rb +++ b/activerecord/lib/active_record/connection_adapters/postgresql/database_statements.rb @@ -89,10 +89,10 @@ module ActiveRecord end end - # Executes an SQL statement, returning a PGresult object on success - # or raising a PGError exception otherwise. - # Note: the PGresult object is manually memory managed; if you don't - # need it specifically, you many want consider the exec_query wrapper. + # Executes an SQL statement, returning a PG::Result object on success + # or raising a PG exception otherwise. + # Note: the PG::Result object is manually memory managed; if you don't + # need it specifically, you may want consider the <tt>exec_query</tt> wrapper. def execute(sql, name = nil) log(sql, name) do @connection.async_exec(sql) |