This commit adds these modifiers:
1. skipUpdates (with unit tests)
2. skipInserts (with unit tests)
3. skipQueries (no tests yet) (and not really working yet)
And handles two situations previously not considered:
1. Updates with no attributes will now return a properly formatted
error instead of returning a syntax error.
2. Inserts with no values will now work on SQLite, Postgres and
SQLServer
This reverts commit 74cb87bea0.
This was done because I noticed this first commit was unnecessary.
This original commit was written in order to allow tests where
the cache would return errors, but I noticed there is a way
of provoking these errors without the need of an extra layer
of abstraction.
Thus, in order to keep the code simpler and also avoid an extra
level of indirection I am undoing this change.
Some databases (maybe all of them) will set the database column
names to lowercase.
This was problematic because we needed to match these names
with the ksql tags, which were not lowercased.
Now we support both versions, lowercased or not.