livia-orientdb
Version:
OrientDB adapter for universal database driver Livia
17 lines (12 loc) • 366 B
JavaScript
import OrientSchema, { prepareSchema } from './Schema';
import { Schema } from 'livia';
export default class Vertex extends Schema.Vertex {
constructor(props, options = {}) {
options.extend = options.extend || 'V';
super(props, options);
prepareSchema(this);
}
getSubdocumentSchemaConstructor() {
return OrientSchema;
}
}