A bunch of minor changes for better consistency. Makes sure SquidDatabase wraps insert/insertOrThrow correctly and distinguishes between the two, and unifies some duplicated logic in SqlUtils.
ThreadLocals are now accepted as arguments to criterions, which is a step towards better reuse of statements in a multi-threaded environment.
Also adds the ability to construct ConjunctionCriterions from Lists.
A bunch of minor changes for better consistency. Makes sure SquidDatabase wraps insert/insertOrThrow correctly and distinguishes between the two, and unifies some duplicated logic in SqlUtils.
ThreadLocals are now accepted as arguments to criterions, which is a step towards better reuse of statements in a multi-threaded environment.
Also adds the ability to construct ConjunctionCriterions from Lists.