Advertisement
Guest User

Untitled

a guest
Dec 8th, 2016
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.14 KB | None | 0 0
  1. array(2) {
  2. [0]=>
  3. array(3) {
  4. ["query"]=>
  5. string(50) "select * from `news` where `news`.`id` = ? limit 1"
  6. ["bindings"]=>
  7. array(1) {
  8. [0]=>
  9. int(15347988)
  10. }
  11. ["time"]=>
  12. float(2.77)
  13. }
  14. [1]=>
  15. array(3) {
  16. ["query"]=>
  17. string(229) "select `tags`.*, `news_tag`.`news_id` as `pivot_news_id`, `news_tag`.`tag_id` as `pivot_tag_id` from `tags` inner join `news_tag` on `tags`.`id` = `news_tag`.`tag_id` where `news_tag`.`news_id` = ? and `tags`.`deleted_at` is null"
  18. ["bindings"]=>
  19. array(1) {
  20. [0]=>
  21. int(15347988)
  22. }
  23. ["time"]=>
  24. float(362)
  25. }
  26.  
  27.  
  28. array(2) {
  29. [0]=>
  30. array(3) {
  31. ["query"]=>
  32. string(50) "select * from `news` where `news`.`id` = ? limit 1"
  33. ["bindings"]=>
  34. array(1) {
  35. [0]=>
  36. int(15347988)
  37. }
  38. ["time"]=>
  39. float(2.58)
  40. }
  41. [1]=>
  42. array(3) {
  43. ["query"]=>
  44. string(109) "select * from `news_tag` left join `tags` on `news_tag`.`tag_id` = `tags`.`id` where `news_tag`.`news_id` = ?"
  45. ["bindings"]=>
  46. array(1) {
  47. [0]=>
  48. int(15347988)
  49. }
  50. ["time"]=>
  51. float(271.12)
  52. }
  53. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement