Comment by bearjaws
2 years ago
Here is the mixtral output (truncated):
knex('course_module')
.insert({
name: jsonData.name,
description: jsonData.description,
content: JSON.stringify(jsonData),
number: jsonData.number,
account_id: 'account_id',
user_id: 'user_id',
course_id: 'course_id',
created_at: new Date(),
updated_at: new Date()
})
No comments yet
Contribute on Hacker News ↗