Skip to content

Instantly share code, notes, and snippets.

@geekcom
Last active February 20, 2018 16:40
Show Gist options
  • Save geekcom/4b122b1711e42fd4ad400d6f96b4ad81 to your computer and use it in GitHub Desktop.
Save geekcom/4b122b1711e42fd4ad400d6f96b4ad81 to your computer and use it in GitHub Desktop.
Retorno do método getQueryLog()
array:3 [
0 => array:3 [
"query" => "select * from "workout_plan" where "fk_user" = ?"
"bindings" => array:1 [
0 => "1"
]
"time" => 4.57
]
1 => array:3 [
"query" => "select * from "user" where "user"."id" in (?)"
"bindings" => array:1 [
0 => 1
]
"time" => 3.22
]
2 => array:3 [
"query" => "select * from "workout_type" where "workout_type"."id" in (?, ?, ?)"
"bindings" => array:3 [
0 => 1
1 => 2
2 => 3
]
"time" => 3.55
]
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment