Raed

Results 1 comments of Raed

use this const posts = await Post.findAll({ where: {community_id: community}, include: [User], order: [['created_at', 'DESC']] }) return posts.get({ plain: true });