質問編集履歴
1
余分な部分を削除
title
CHANGED
File without changes
|
body
CHANGED
@@ -60,7 +60,7 @@
|
|
60
60
|
find = request.form.get('find')
|
61
61
|
Session = sessionmaker(bind=engine)
|
62
62
|
ses = Session()
|
63
|
-
result = ses.query(Mydata).filter(Mydata.tweets.like('%{f}%'.format(f=find)))
|
63
|
+
result = ses.query(Mydata).filter(Mydata.tweets.like('%{f}%'.format(f=find)))all()
|
64
64
|
ses.close()
|
65
65
|
return jsonify(getByList(result));
|
66
66
|
```
|