Liking cljdoc? Tell your friends :D

toucan2.query-execution-backend


load-backend-if-neededclj

(load-backend-if-needed connection₁)

Initialize a query execution backend if needed (usually this means loading some namespace with map backend method implementations).

load-backend-if-needed is defined in toucan2.query-execution-backend (toucan2/query_execution_backend.clj:11).

It caches methods using a methodical.impl.cache.watching.WatchingCache.

It uses the method combination methodical.impl.combo.threaded.ThreadingMethodCombination with the threading strategy :thread-last.

It uses the dispatcher methodical.impl.dispatcher.multi_default.MultiDefaultDispatcher with hierarchy #'clojure.core/global-hierarchy and prefs {}.

The default value is :default.

It uses the method table methodical.impl.method_table.standard.StandardMethodTable.

These primary methods are known:

  • :default, defined in toucan2.query-execution-backend (toucan2/query_execution_backend.clj:19)

    It has the following documentation:

    Default method: no-op.

  • java.sql.Connection, defined in toucan2.query-execution-backend (toucan2/query_execution_backend.clj:24)

    It has the following documentation:

    Load the [[toucan2.query-execution-backend.jdbc]] implementation.

Initialize a query execution backend if needed (usually this means loading some namespace with map backend method
  implementations).

load-backend-if-needed is defined in [[toucan2.query-execution-backend]] (toucan2/query_execution_backend.clj:11).

It caches methods using a `methodical.impl.cache.watching.WatchingCache`.

It uses the method combination `methodical.impl.combo.threaded.ThreadingMethodCombination`
with the threading strategy `:thread-last`.

It uses the dispatcher `methodical.impl.dispatcher.multi_default.MultiDefaultDispatcher`
with hierarchy `#'clojure.core/global-hierarchy`
and prefs `{}`.

The default value is `:default`.

It uses the method table `methodical.impl.method_table.standard.StandardMethodTable`.

These primary methods are known:

* `:default`, defined in [[toucan2.query-execution-backend]] (toucan2/query_execution_backend.clj:19) 
  
  It has the following documentation:
  
  Default method: no-op.

* `java.sql.Connection`, defined in [[toucan2.query-execution-backend]] (toucan2/query_execution_backend.clj:24) 
  
  It has the following documentation:
  
  Load the [[toucan2.query-execution-backend.jdbc]] implementation.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close