Postgrex.Extension.encode
You're seeing just the callback
encode
, go back to Postgrex.Extension module for more information.
Specs
Returns a quoted list of clauses that encode an Elixir value to iodata.
It must use a signed 32 bit big endian integer byte length header.
def encode(_) do
quote do
integer ->
<<8 :: signed-32, integer :: signed-64>>
end
end