lib/pg_conn.rb in pg_conn-0.5.1 vs lib/pg_conn.rb in pg_conn-0.6.0
- old
+ new
@@ -390,10 +390,10 @@
h
end
# Return a hash from the record id column to an OpenStruct representation
# of the record. If the :key_column option is defined it will be used
- # instead of id as the key It is an error if the id field value is not
+ # instead of id as the key. It is an error if the id field value is not
# unique
def set(query, key_column: :id)
key_column = key_column.to_sym
keys = {}
r = pg_exec(query)