Advertisement
Guest User

Untitled

a guest
Jun 14th, 2016
1,254
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.53 KB | None | 0 0
  1. Executing (default): SELECT `Location`.`id`, `Location`.*, COUNT(`sensors`.`id`) AS `sensorCount`, `Sensors`.`id` AS `Sensors.id`, `Sensors`.`name` AS `Sensors.name`, `Sensors`.`type` AS `Sensors.type`, `Sensors`.`location` AS `Sensors.location`, `Sensors`.`createdAt` AS `Sensors.createdAt`, `Sensors`.`updatedAt` AS `Sensors.updatedAt` FROM `Locations` AS `Location` LEFT OUTER JOIN `Sensors` AS `Sensors` ON `Location`.`id` = `Sensors`.`location`;
  2. [ { dataValues: { sensorCount: 2, Sensors: [Object] },
  3. _previousDataValues: { sensorCount: 2, Sensors: [Object] },
  4. _changed: {},
  5. '$modelOptions':
  6. { timestamps: true,
  7. instanceMethods: {},
  8. classMethods: [Object],
  9. validate: {},
  10. freezeTableName: false,
  11. underscored: false,
  12. underscoredAll: false,
  13. paranoid: false,
  14. rejectOnEmpty: false,
  15. whereCollection: null,
  16. schema: null,
  17. schemaDelimiter: '',
  18. defaultScope: {},
  19. scopes: [],
  20. hooks: {},
  21. indexes: [],
  22. name: [Object],
  23. omitNul: false,
  24. sequelize: [Object],
  25. uniqueKeys: {},
  26. hasPrimaryKeys: true },
  27. '$options':
  28. { isNewRecord: false,
  29. '$schema': null,
  30. '$schemaDelimiter': '',
  31. include: [Object],
  32. includeNames: [Object],
  33. includeMap: [Object],
  34. includeValidated: true,
  35. attributes: [Object],
  36. raw: true },
  37. hasPrimaryKeys: true,
  38. __eagerlyLoadedAssociations: [],
  39. isNewRecord: false,
  40. Sensors: [ [Object] ] } ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement