sutando
Version:
A modern Node.js ORM. Makes it enjoyable to interact with your database. Support Mysql, MSSql, MariaDB, Sqlite.
60 lines (56 loc) • 931 B
JavaScript
import Sutando from './index.js';
const {
Paginator,
Collection,
Model,
Pivot,
Attribute,
CastsAttributes,
HasUniqueIds,
make,
makeCollection,
makePaginator,
now,
getRelationName,
getScopeName,
getRelationMethod,
getScopeMethod,
getAttrMethod,
getGetterMethod,
getSetterMethod,
getAttrName,
compose,
tap,
ModelNotFoundError,
RelationNotFoundError,
InvalidArgumentError,
isBrowser,
} = Sutando;
export default Sutando;
export {
Paginator,
Collection,
Model,
Pivot,
Attribute,
CastsAttributes,
HasUniqueIds,
make,
makeCollection,
makePaginator,
now,
getRelationName,
getScopeName,
getRelationMethod,
getScopeMethod,
getAttrMethod,
getGetterMethod,
getSetterMethod,
getAttrName,
compose,
tap,
ModelNotFoundError,
RelationNotFoundError,
InvalidArgumentError,
isBrowser,
};