Flowdock
method

pp

Importance_1
v3.2.8 - Show latest stable - 0 notes - Class: ExplainPrettyPrinter
pp(result) public

Pretty prints the result of a EXPLAIN in a way that resembles the output of the PostgreSQL shell:

                                  QUERY PLAN
------------------------------------------------------------------------------
 Nested Loop Left Join  (cost=0.00..37.24 rows=8 width=0)
   Join Filter: (posts.user_id = users.id)
   ->  Index Scan using users_pkey on users  (cost=0.00..8.27 rows=1 width=4)
         Index Cond: (id = 1)
   ->  Seq Scan on posts  (cost=0.00..28.88 rows=8 width=4)
         Filter: (posts.user_id = 1)
(6 rows)
Show source
Register or log in to add new notes.