• R
    Lazy checking whether or not values in IN clause are boundable · ce40073c
    Ryuta Kamizono 提交于
    Since #33844, eager loading/preloading with too many and/or too large
    ids won't be broken by pre-checking whether the value is constructable
    or not.
    
    But the pre-checking caused the type to be evaluated at relation build
    time instead of at the query execution time, that is breaking an
    expectation for some apps.
    
    I've made the pre-cheking lazy as much as possible, that is no longer
    happend at relation build time.
    ce40073c
bind_parameter_test.rb 3.1 KB