M
M
McMike2017-09-07 14:00:13
PostgreSQL
McMike, 2017-09-07 14:00:13

How to debug a request?

There is a large query with a bunch of subqueries and joins, the result is a string that should not be there. How to determine which part of the query pulls up this row?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
fr0zen, 2017-10-06
@fr0zen

Studio request.
How to debug depends on the tool. If you have PgAdmin, PyCharm or something like that, you can execute the request in parts, and so step by step track where the result goes the wrong way.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question