MCPcopy Create free account
hub / github.com/dresende/node-orm2 / addAdapter

Function addAdapter

lib/Adapters.js:9–11  ·  view source on GitHub ↗
(name, constructor)

Source from the content-addressed store, hash-verified

7var adapters = {};
8
9function addAdapter(name, constructor) {
10 adapters[name] = constructor;
11}
12
13function getAdapter(name) {
14 if (name in aliases) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected