Ejemplo n.º 1
0
def read_insert(row: list) -> List:
    return cytoolz.compose(
        dftosql.i_pg_batch(conn_pg, table), transform(types),
        sqlc.s_where_with_type_lite(conn_lite.cursor(), table, {
            '年': int,
            '季': str
        }))(row)
def read_insert(row: list) -> List:
    return cytoolz.compose(dftosql.i_pg_batch(conn_pg, table), transform(types), sqlc.s_where_lite(conn_lite, table))(row)