README.md in rasti-db-0.2.9 vs README.md in rasti-db-0.3.0

- old
+ new

@@ -128,10 +128,13 @@ users.delete id users.bulk_insert [{name: 'User 1'}, {name: 'User 2'}] users.bulk_update(name: 'User updated') { where id: [1,2] } users.bulk_delete { where id: [1,2] } + + posts.insert_relations 1, categories: [2,3] + posts.delete_relations 1, categories: [2,3] end ``` ### Queries @@ -142,9 +145,10 @@ posts.where(id: [1,2]) # => [Post, ...] posts.where{id > 1}.limit(10).offset(20) } # => [Post, ...] posts.graph(:user, :categories, 'comments.user') # => [Post(User, [Categories, ...], [Comments(User)]), ...] posts.created_by(1) # => [Post, ...] posts.created_by(1).entitled('...').commented_by(2) # => [Post, ...] +posts.with_categories([1,2]) # => [Post, ...] posts.where(id: [1,2]).raw # => [{id:1, ...}, {id:2, ...}] posts.where(id: [1,2]).primary_keys # => [1,2] posts.where(id: [1,2]).pluck(:id) # => [1,2] posts.where(id: [1,2]).pluck(:id, :title) # => [[1, ...], [2, ...]] ```