Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const data = request.only(['name'])
- const category = await BlogCategory.create(data)
- await category.loadCount('posts') //It does not work
- return category
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement