mirror of
https://gitea.invidious.io/iv-org/shard-crystal-db.git
synced 2024-08-15 00:53:32 +00:00
* Add logging for executing queries Arguments are translated to Log::Metadata::Value via DB::Statement#arg_to_log method. DB::Statement#before_query_or_exec & after_query_or_exec protected methods can be used to hook and run around the statement execution * Move the metadata converter to a module * Replace before/after with def_around_query_or_exec macro * Update src/db/enumerable_concat.cr Co-authored-by: Ary Borenszweig <asterite@gmail.com> Co-authored-by: Ary Borenszweig <asterite@gmail.com> |
||
---|---|---|
.. | ||
support | ||
custom_drivers_types_spec.cr | ||
database_spec.cr | ||
db_spec.cr | ||
disposable_spec.cr | ||
dummy_driver.cr | ||
dummy_driver_spec.cr | ||
http_client_pool_spec.cr | ||
mapping_spec.cr | ||
pool_spec.cr | ||
result_set_spec.cr | ||
save_point_transaction_spec.cr | ||
serializable_spec.cr | ||
spec_helper.cr | ||
statement_spec.cr | ||
transaction_spec.cr |