w-orm-reladb 1.0.36 → 1.0.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsdoc +1 -1
- package/LICENSE +1 -1
- package/README.md +1 -1
- package/dist/w-orm-reladb.umd.js +2 -2
- package/dist/w-orm-reladb.umd.js.map +1 -1
- package/docs/WOrmReladb.html +1 -1
- package/docs/WOrmReladb.mjs.html +1 -1
- package/docs/index.html +1 -1
- package/models/users.js +23 -23
- package/package.json +8 -13
- package/worm.sqlite +0 -0
package/docs/WOrmReladb.html
CHANGED
|
@@ -3724,7 +3724,7 @@
|
|
|
3724
3724
|
<br class="clear">
|
|
3725
3725
|
|
|
3726
3726
|
<footer>
|
|
3727
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.
|
|
3727
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.10</a> on Sat Jan 21 2023 17:33:29 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
|
3728
3728
|
</footer>
|
|
3729
3729
|
|
|
3730
3730
|
<script>prettyPrint();</script>
|
package/docs/WOrmReladb.mjs.html
CHANGED
|
@@ -1108,7 +1108,7 @@ export default WOrmReladb
|
|
|
1108
1108
|
<br class="clear">
|
|
1109
1109
|
|
|
1110
1110
|
<footer>
|
|
1111
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.
|
|
1111
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.10</a> on Sat Jan 21 2023 17:33:29 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
|
1112
1112
|
</footer>
|
|
1113
1113
|
|
|
1114
1114
|
<script>prettyPrint();</script>
|
package/docs/index.html
CHANGED
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
<br class="clear">
|
|
69
69
|
|
|
70
70
|
<footer>
|
|
71
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.
|
|
71
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.10</a> on Sat Jan 21 2023 17:33:29 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
|
72
72
|
</footer>
|
|
73
73
|
|
|
74
74
|
<script>prettyPrint();</script>
|
package/models/users.js
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
/* jshint indent: 1 */
|
|
2
2
|
module.exports = function(sequelize, DataTypes) {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
3
|
+
return sequelize.define('users', {
|
|
4
|
+
'id': {
|
|
5
|
+
type: DataTypes.STRING,
|
|
6
|
+
allowNull: false,
|
|
7
|
+
primaryKey: true,
|
|
8
|
+
autoIncrement: false,
|
|
9
|
+
comment: null
|
|
10
|
+
},
|
|
11
|
+
'name': {
|
|
12
|
+
type: DataTypes.TEXT,
|
|
13
|
+
allowNull: true,
|
|
14
|
+
autoIncrement: false,
|
|
15
|
+
comment: null
|
|
16
|
+
},
|
|
17
|
+
'value': {
|
|
18
|
+
type: DataTypes.FLOAT,
|
|
19
|
+
allowNull: true,
|
|
20
|
+
autoIncrement: false,
|
|
21
|
+
comment: null
|
|
22
|
+
}
|
|
23
|
+
}, {
|
|
24
|
+
tableName: 'users'
|
|
25
|
+
});
|
|
26
26
|
};
|
package/package.json
CHANGED
|
@@ -1,22 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "w-orm-reladb",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "An object of operator for relational database in nodejs.",
|
|
3
|
+
"version": "1.0.38",
|
|
5
4
|
"main": "dist/w-orm-reladb.umd.js",
|
|
6
5
|
"dependencies": {
|
|
7
|
-
"json5": "^2.2.
|
|
6
|
+
"json5": "^2.2.3",
|
|
8
7
|
"lodash": "^4.17.21",
|
|
9
|
-
"mssql": "^
|
|
8
|
+
"mssql": "^9.1.1",
|
|
10
9
|
"sqlite3": "^5.0.2",
|
|
11
|
-
"w-auto-sequelize": "^1.0.
|
|
12
|
-
"wsemi": "^1.6.
|
|
10
|
+
"w-auto-sequelize": "^1.0.21",
|
|
11
|
+
"wsemi": "^1.6.87"
|
|
13
12
|
},
|
|
14
13
|
"dependenciesTemp": {
|
|
15
14
|
"msg": "install sqlcipher for protection when db=sqlite",
|
|
16
|
-
"@journeyapps/sqlcipher": "^5.
|
|
15
|
+
"@journeyapps/sqlcipher": "^5.3.1"
|
|
17
16
|
},
|
|
18
17
|
"devDependencies": {
|
|
19
|
-
"w-package-tools": "^1.0.
|
|
18
|
+
"w-package-tools": "^1.0.66"
|
|
20
19
|
},
|
|
21
20
|
"scripts": {
|
|
22
21
|
"test": "mocha --parallel --timeout 60000 --experimental-modules --es-module-specifier-resolution=node",
|
|
@@ -36,9 +35,5 @@
|
|
|
36
35
|
"nodejs"
|
|
37
36
|
],
|
|
38
37
|
"author": "yuda-lyu(semisphere)",
|
|
39
|
-
"license": "MIT"
|
|
40
|
-
"bugs": {
|
|
41
|
-
"url": "https://github.com/yuda-lyu/w-orm-reladb/issues"
|
|
42
|
-
},
|
|
43
|
-
"homepage": "https://github.com/yuda-lyu/w-orm-reladb#readme"
|
|
38
|
+
"license": "MIT"
|
|
44
39
|
}
|
package/worm.sqlite
CHANGED
|
Binary file
|