<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def insert(manager, graph: BELGraph):
 """Insert a graph to the database."""

    to_database(graph, manager=manager, use_tqdm=True)