Skip to content

Instantly share code, notes, and snippets.

@NetguruGist
Created October 11, 2016 12:57
Show Gist options
  • Save NetguruGist/780c5bd20037f2151b6a3bf9d7114458 to your computer and use it in GitHub Desktop.
Save NetguruGist/780c5bd20037f2151b6a3bf9d7114458 to your computer and use it in GitHub Desktop.
performance_post_9.bash
Post Load (0.5ms) SELECT "posts".* FROM "posts" ORDER BY "posts"."id" DESC LIMIT $1 [["LIMIT", 1]]
(0.1ms) BEGIN
SQL (0.4ms) DELETE FROM "comments" WHERE "comments"."post_id" = $1 [["post_id", 15]]
SQL (1.1ms) DELETE FROM "posts" WHERE "posts"."id" = $1 [["id", 15]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment