GitHub

DaffInMemoryMultiRouteableBackend

import { DaffInMemoryMultiRouteableBackend } from '@daffodil/driver/in-memory'

A routing target that handles multiple collections.

interface DaffInMemoryMultiRouteableBackend {
  canHandle(collectionName: string): boolean
}

() Methods

canHandle
boolean

Returns true if the backend can handle the request with the specified collection name. Used for backends that handle multiple collections.

Parameters
ParametercollectionName: string
Description