回答編集履歴

1

type

2016/11/12 13:50

投稿

退会済みユーザー
test CHANGED
@@ -16,13 +16,13 @@
16
16
 
17
17
  const db = new sqlite3.Database('db.sqlite3');
18
18
 
19
- const t_all = thunkify(db.all.bind(db));
19
+ const db_all = thunkify(db.all.bind(db));
20
20
 
21
21
 
22
22
 
23
- const friends = yield t_all("SELECT * FROM friend");
23
+ const friends = yield db_all("SELECT * FROM friend");
24
24
 
25
- const messages= yield t_all("SELECT * FROM message");
25
+ const messages= yield db_all("SELECT * FROM message");
26
26
 
27
27
 
28
28