Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

find records using the IN expression in Rails

Customer.where(orders_count: [1,3,5])
Source by guides.rubyonrails.org #
 
PREVIOUS NEXT
Tagged: #find #records #IN #expression #Rails
ADD COMMENT
Topic
Name
4+3 =