[WIP] Query constructor API changes

I didn't realize these were case-insensitive, but that is indeed awkward. I'll replace with case-sensitive comparisons. Why was `zend_binary_strcasecmp()` being used in the write command functions of our current driver? (that's the code I was referencing here).