Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- return app.service('points').find(
- {
- query: {
- point_id: [1, 2, 5],
- include: ['PointPhotos'],
- order: [
- [
- 'point_id',
- 'DESC'
- ],
- [
- 'PointPhotos',
- 'photo_id',
- 'DESC'
- ]
- ]
- }
- }
- );
- })
- error: SequelizeDatabaseError: column points.order does not exist
Add Comment
Please, Sign In to add comment