create table Comment(
cid integer primary key autoincrement,
content string not null
);
db.execute('insert into Comment values ?', (request.form['content']))
答案 0 :(得分:-1)
也许你可以试试这个
DispatchQueue.global(qos: .background).async {
// load your data here
DispatchQueue.main.async {
// reload your collection view here:
self.collectionView.reloadData()
}
}