UNPKG
ts-mean
Version:
latest (4.0.1)
4.0.1
4.0.0
3.0.1
3.0.0
2.0.5
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
1.0.2
1.0.1
1.0.0
0.0.1
0.0.0
Boilerplate for a TS-MEAN App
github.com/tsmean/tsmean
tsmean/tsmean
ts-mean
/
backend
/
dbadapter-module
/
dist
/
dao.js
10 lines
(9 loc)
•
233 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
, {
value
:
true
});
const
tsmongo =
require
(
"tsmongo"
);
function
dao
(
databaseType
) {
if
(databaseType ===
'mongo'
) {
return
tsmongo.
dao
; } }
exports
.
dao
= dao;