README.md in pgrel-0.2.0 vs README.md in pgrel-0.3.0

- old
+ new

@@ -2,11 +2,11 @@ ## Pgrel ActiveRecord extension for querying hstore, array and jsonb. -Compatible with **Rails** >= 4.2. +Compatible with **Rails** >= 4.2 (including **Rails 6**). #### Install In your Gemfile: @@ -55,14 +55,14 @@ Values existence: ```ruby # Retrieve items that have value '1' OR '2' -Hstore.where.store(:tags).value(1, 2) -#=> select * from hstores where (avals(tags) @> ARRAY['1'] OR avals(tags) @> ARRAY['2'] ) +Hstore.where.store(:tags).overlap_values(1, 2) +#=> select * from hstores where (avals(tags) && ARRAY['1', '2']) # Retrieve items that have values '1' AND '2' -Hstore.where.store(:tags).values(1, 2) +Hstore.where.store(:tags).contains_values(1, 2) #=> select * from hstores where (avals(tags) @> ARRAY['1', '2']) ``` Containment: