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 <[email protected]>
  • Loading branch information
greg-rychlewski and josevalim authored Jul 3, 2024
1 parent 419001e commit 2296b13
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 @@ -36,8 +36,8 @@ defmodule Postgrex.TypeModule do
are created by iterating over each extension, taking the pattern returned by the `decode/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 also accepts several variables that help accumulate the results and a special
variable `mod` that allows the extensions to access the type modifier of the column. This
Expand Down

0 comments on commit 2296b13

Please sign in to comment.