Skip to content

v1.1.11

Latest
Compare
Choose a tag to compare
@andrewzolotukhin andrewzolotukhin released this 19 Oct 02:00

@cleverbrush/knex-clickhouse

  • add optional preQueryCallback callback. If it's defined, this function will be called before each query and awaited if it returns a promise. Could be useful in some cases. For example you want first to check if the server is not in idle state (for example Clickhouse Cloud have idling options) and if it is, you want to wake it up before sending the query. If the function throws an error this error will not be caught and will propagate to the caller. Therefore the query will not be executed.