Do we have to register adapters in asyncpg for executing queries, just like in psycopg?
http://initd.org/psycopg/docs/extensions.html#psycopg2.extensions.register_adapter
Found out that set_type_codec are used here. They are much easier and doesn't require type introspections.
Here are some good references: https://magicstack.github.io/asyncpg/current/api/index.html#asyncpg.connection.Connection.set_type_codec
https://github.com/MagicStack/asyncpg/blob/master/docs/usage.rst#custom-type-conversions