3 ms·
There's also the case where I forget a unique index or get the query wrong, and get several records when I'm only expecting one.
by tbrownaw 13y ago
There's also the case where I forget a unique index or get the query wrong, and get several records when I'm only expecting one.
- dragonwriter 13y agoThe teller strategy can work for those; that's all checking that can be done in the teller (or, in the case of teller-implemented-on-top-of-finder) in the finder. There's no reason to repeat the logic checking for this case all over the application.