Skip to content

DatabaseAdapter.js

Fosco Marotto edited this page Jan 28, 2016 · 1 revision
DatabaseAdapter.js

Interface for allowing the underlying database to be changed

Adapter classes must implement the following methods:

  • a constructor with signature (connectionString, optionsObject)
  • connect()
  • loadSchema()
  • create(className, object)
  • find(className, query, options)
  • update(className, query, update, options)
  • destroy(className, query, options)
  • This list is incomplete and the database process is not fully modularized.

See ExportAdapter.js for the default adapter implementation using MongoDB.

See transform.js for additional database specific transformation logic.

Clone this wiki locally
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy