Rename adapter to connector
This commit is contained in:
parent
da1cd6739b
commit
484f5270d9
|
@ -26,7 +26,7 @@ _TODO_
|
||||||
|
|
||||||
### App
|
### App
|
||||||
|
|
||||||
Create A Loopbackapplication.
|
Create a Loopback application.
|
||||||
|
|
||||||
var loopback = require('loopback');
|
var loopback = require('loopback');
|
||||||
var app = loopback();
|
var app = loopback();
|
||||||
|
|
|
@ -35,7 +35,7 @@ function Connector(options) {
|
||||||
inherits(Connector, EventEmitter);
|
inherits(Connector, EventEmitter);
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* Create an adapter instance from a JugglingDB adapter.
|
* Create an connector instance from a JugglingDB adapter.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Connector._createJDBAdapter = function (jdbModule) {
|
Connector._createJDBAdapter = function (jdbModule) {
|
||||||
|
@ -49,6 +49,6 @@ Connector._createJDBAdapter = function (jdbModule) {
|
||||||
* Add default crud operations from a JugglingDB adapter.
|
* Add default crud operations from a JugglingDB adapter.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Connector.prototype._addCrudOperationsFromJDBAdapter = function (adapter) {
|
Connector.prototype._addCrudOperationsFromJDBAdapter = function (connector) {
|
||||||
|
|
||||||
}
|
}
|
|
@ -23,7 +23,7 @@ var Connector = require('./base-connector')
|
||||||
*/
|
*/
|
||||||
|
|
||||||
function Memory() {
|
function Memory() {
|
||||||
// TODO implement entire memory adapter
|
// TODO implement entire memory connector
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue