UNPKG

quaerateum

Version:

Simple typescript ORM for node.js based on data-mapper, unit-of-work and identity-map patterns. Supports MongoDB, MySQL, PostgreSQL and SQLite databases as well as usage with vanilla JS.

11 lines (7 loc) 220 B
import { EntityRepository } from '../../lib'; import { Author } from '../entities'; export class AuthorRepository extends EntityRepository<Author> { magic(data: string): string { return `111 ${data} 222`; } }