4 ms·
Then what do you do if the passed tuple has zero length? Dynamically rewriting the SQL isn't going to be tractable in all cases - doing `IN (NULL)` might be a
by mappu 12y ago
Then what do you do if the passed tuple has zero length?
Dynamically rewriting the SQL isn't going to be tractable in all cases - doing `IN (NULL)` might be a valid value - and throwing an exception is poor form for an actually valid case.
- SapphireSun 12y agoCheck for bad inputs? I'm not saying this is a cure all, but it's a lot better than not being able to use arrays at all.
- deleted 12y ago[deleted]