UNPKG

livia-titan

Version:

Titan adapter for universal database driver Livia

16 lines (12 loc) 326 B
import TitanSchema, { prepareSchema } from './Schema'; import { Schema } from 'livia'; export default class Edge extends Schema.Edge { constructor(props, options) { options = options || {}; super(props, options); prepareSchema(this); } getSubdocumentSchemaConstructor() { return TitanSchema; } }