Skip to content

Instantly share code, notes, and snippets.

@andrelip
Last active June 12, 2017 16:09
Show Gist options
  • Save andrelip/b106c5d1e56e5a6a8de5e97c9b406daa to your computer and use it in GitHub Desktop.
Save andrelip/b106c5d1e56e5a6a8de5e97c9b406daa to your computer and use it in GitHub Desktop.
[debug] ABSINTHE schema=nil variables=%{}
---
{
user(email: "joao@escola.com.br") {
name
email
id
reader{
entity {
name
}
}
}
}
---
--------------- ok
[debug] QUERY OK source="users" db=0.6ms
SELECT u0.`id`, u0.`api_token`, u0.`email`, u0.`name`, u0.`changed_password`, u0.`encrypted_password`, u0.`confirmed_at`, u0.`created_at`, u0.`updated_at` FROM `users` AS u0 WHERE (u0.`email` = ?) ["joao@escola.com.br"]
Arvore.ReaderProfile
[debug] QUERY OK source="subscription_reader_profiles" db=0.5ms
SELECT s0.`id`, s0.`user_id`, s0.`entity_id`, s0.`root_id`, s0.`desativated`, s0.`created_at`, s0.`updated_at` FROM `subscription_reader_profiles` AS s0 WHERE (s0.`user_id` IN (?)) [13]
[debug] QUERY OK source="entities" db=0.5ms
SELECT e0.`id`, e0.`name`, e0.`address`, e0.`city`, e0.`phone`, e0.`state`, e0.`library_kind`, e0.`degree`, e0.`require_payment`, e0.`ancestry`, e0.`created_at`, e0.`updated_at` FROM `entities` AS e0 WHERE (e0.`id` IN (?)) [5285]
[info] Sent 200 in 9ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment