

def _load_functions(self, conn):
    for (name, (fn, num_params)) in self._functions.items():
        conn.createscalarfunction(name, fn, num_params)

dataset/ETHPy150Open coleifer/peewee/playhouse/apsw_ext.py APSWDatabase._load_functions/original