Skip to content

Commit

Permalink
Update lib/postgrex/type_module.ex
Browse files Browse the repository at this point in the history
Co-authored-by: José Valim <jose.valim@gmail.com>
  • Loading branch information
greg-rychlewski and josevalim authored Jul 3, 2024
1 parent b632040 commit 419001e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/postgrex/type_module.ex
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ defmodule Postgrex.TypeModule do
are created by iterating over each extension, taking the pattern returned by the `encode/1`
callback and creating a function that either:
- Accepts the pattern for regular extensions
- Accepts the pattern, sub-oids and sub-tupes for super extensions
- Accepts the pattern for regular extensions
- Accepts the pattern, sub-oids and sub-tupes for super extensions
Each function is given the same name as the extension module and simply returns the body of the
`encode/1` callback. Several helper functions that help encode parameters, lists, tuples and
Expand Down

0 comments on commit 419001e

Please sign in to comment.