Skip to content

Commit

Permalink
Document full outer join. Closes #658.
Browse files Browse the repository at this point in the history
  • Loading branch information
onyxfish committed Dec 29, 2016
1 parent 8180820 commit c441717
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/cookbook/sql.rst
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,21 @@ agate:
joined = patients.join(doctors, 'doctor', 'id')
FULL OUTER JOIN
===============

SQL:

.. code-block:: postgres
SELECT * FROM patient FULL OUTER JOIN doctor ON (patient.doctor = doctor.id);
agate:

.. code-block:: python
joined = patients.join(doctors, 'doctor', 'id', full_outer=True)
GROUP BY
========

Expand Down

0 comments on commit c441717

Please sign in to comment.