Liking cljdoc? Tell your friends :D

libpg-clj.debug

Debug utilities for PostgreSQL query inspection and analysis.

Debug utilities for PostgreSQL query inspection and analysis.
raw docstring

(print-statement pool [sql & params])

Prints a prepared statement with bound parameters for debugging.

Parameters: pool - Database connection pool query - Query vector [sql & params]

Prints the PreparedStatement object via pprint, showing the SQL with parameters bound.

Prints a prepared statement with bound parameters for debugging.

Parameters:
  pool  - Database connection pool
  query - Query vector [sql & params]

Prints the PreparedStatement object via pprint, showing the SQL
with parameters bound.
sourceraw docstring

query-explainclj

(query-explain pool query)

Executes EXPLAIN ANALYZE on a query and pretty-prints the execution plan.

Parameters: pool - Database connection pool query - Query vector [sql & params]

Useful for analyzing query performance and understanding how PostgreSQL executes your queries.

Executes EXPLAIN ANALYZE on a query and pretty-prints the execution plan.

Parameters:
  pool  - Database connection pool
  query - Query vector [sql & params]

Useful for analyzing query performance and understanding how PostgreSQL
executes your queries.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close