lib/genserver/utils/p_postgres_db.ex


defprotocol Genserver.Utils.PPostgresDb do
    @moduledoc"""
    Protocol oriented to load data from a table in a database in postgres
    """

    @doc"""
    Extracts the new information from a certain table and stores it in Bigquery

    ### Parameter:

        - business: Atom. Business to which the data points.

        - conn_odbc_pid: Process. Process connecting Elixir and ODBC.

        - batch_id: String. Batch identifier.

    """
    @spec perform(atom, pid, binary) :: any
    def perform(business, conn_odbc_pid, batch_id)


end