Skip to content

Commit

Permalink
Merge pull request #716 from ndjndj/fix-typo-in-chain
Browse files Browse the repository at this point in the history
Fix typo in `lib/dynamoid/criteria/chain.rb`
  • Loading branch information
andrykonchin committed Feb 10, 2024
2 parents 281d439 + 9792895 commit 8029e13
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/dynamoid/criteria/chain.rb
Original file line number Diff line number Diff line change
Expand Up @@ -447,9 +447,9 @@ def find_by_pages(&block)
# It takes one or more field names and returns a collection of models with only
# these fields set.
#
# Post.where('views_count.gt' => 1000).select(:title)
# Post.where('views_count.gt' => 1000).select(:title, :created_at)
# Post.select(:id)
# Post.where('views_count.gt' => 1000).project(:title)
# Post.where('views_count.gt' => 1000).project(:title, :created_at)
# Post.project(:id)
#
# It can be used to avoid loading large field values and to decrease a
# memory footprint.
Expand Down

0 comments on commit 8029e13

Please sign in to comment.