GitHub

DaffInMemoryDriverBase

The base class for in-memory drivers.

import { DaffInMemoryDriverBase } from '@daffodil/driver/in-memory'
abstract class DaffInMemoryDriverBase {
  protected readonly url: `/${this.config.apiBase}/${this.collectionName}`
}

Properties

Name Type Description
url `/${this.config.apiBase}/${this.collectionName}`

The URL of the corresponding backend. Does not include a trailing slash, it is of the form: /<api base>/<collection name>.