GitHub

DaffInMemoryMultiRouteableBackend

A routing target that handles multiple collections.

import { DaffInMemoryMultiRouteableBackend } from '@daffodil/driver/in-memory'
interface DaffInMemoryMultiRouteableBackend {
  canHandle: boolean
}

Properties

Name Type Description
canHandle boolean

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