livia-titan
Version:
Titan adapter for universal database driver Livia
16 lines (12 loc) • 330 B
JavaScript
import TitanSchema, { prepareSchema } from './Schema';
import { Schema } from 'livia';
export default class Vertex extends Schema.Vertex {
constructor(props, options) {
options = options || {};
super(props, options);
prepareSchema(this);
}
getSubdocumentSchemaConstructor() {
return TitanSchema;
}
}