質問編集履歴
2
エラー内容修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -60,17 +60,19 @@
|
|
60
60
|
|
61
61
|
```
|
62
62
|
|
63
|
-
エラーは、
|
63
|
+
エラーは、
|
64
64
|
|
65
|
-
|
65
|
+
{ [MongoError: ReferenceError: profit is not defined]
|
66
66
|
|
67
|
-
|
67
|
+
name: 'MongoError',
|
68
68
|
|
69
|
-
|
69
|
+
message: 'ReferenceError: profit is not defined',
|
70
70
|
|
71
|
-
|
71
|
+
'$err': 'ReferenceError: profit is not defined',
|
72
72
|
|
73
|
+
code: 16722 }
|
74
|
+
|
73
|
-
の
|
75
|
+
のような感じでnot definedが出ております。
|
74
76
|
|
75
77
|
|
76
78
|
|
1
補足
test
CHANGED
File without changes
|
test
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
|
11
11
|
node.js+expressでwebアプリを組んでいます。
|
12
12
|
|
13
|
-
POST送信でINPUT要素に入っていた値をreq.body.ほにゃららで受け取って
|
13
|
+
POST送信でviewのINPUT要素に入っていた値をreq.body.ほにゃららで受け取って
|
14
14
|
|
15
15
|
変数profitに格納して、$whereに書きたいです。
|
16
16
|
|