Closed davekaro closed 1 year ago
One reason you might want this is to qualify the columns in your method. For example, where :kept, Sequel[model.table_name][:discarded_at] => nil
where :kept, Sequel[model.table_name][:discarded_at] => nil
See discussion https://github.com/jeremyevans/sequel/discussions/2038. I'm not sure the test is up to standards, I struggled at first so happy for any feedback/adjustments needed.
~Sorry didn't notice the whitespace changes... will follow up shortly.~ All set now.
Looks good, thanks for the patch!
One reason you might want this is to qualify the columns in your method. For example,
where :kept, Sequel[model.table_name][:discarded_at] => nil
See discussion https://github.com/jeremyevans/sequel/discussions/2038. I'm not sure the test is up to standards, I struggled at first so happy for any feedback/adjustments needed.