class_docstr: Database for `OperationsCache` class.
  Includes low-level idea of caching pipeline nodes using relational database.
  
  :param cache_dir: path to the place where cache files should be stored.
class_docstr_tok: ["Database","for","`","OperationsCache","`","class",".","Includes","low-level","idea","of","caching","pipeline","nodes","using","relational","database",".",":","param","cache_dir",":","path","to","the","place","where","cache","files","should","be","stored","."]
docstr: Adds operation score to DB table via its uid
  
  :param uid_val_lst: list of pairs (uid -> operation) to be saved
docstr_tok: ["Adds","operation","score","to","DB","table","via","its","uid",":","param","uid_val_lst",":","list","of","pairs","(","uid","-",">","operation",")","to","be","saved"]
code: def add_operations(self, uid_val_lst: List[Tuple[str, "IOperation"]]):
      """
      Adds operation score to DB table via its uid
  
      :param uid_val_lst: list of pairs (uid -> operation) to be saved
      """
      with closing(sqlite3.connect(self.db_path)) as conn:
          with conn:
              cur = conn.cursor()
              pickled = [
                  (
                      uid,
                      sqlite3.Binary(
                          pickle.dumps(val, pickle.HIGHEST_PROTOCOL)
                      ),
                  )
                  for uid, val in uid_val_lst
              ]
              cur.executemany(
                  f"INSERT OR IGNORE INTO {self._main_table} VALUES (?, ?);",
                  pickled,
              )
  
file_path: FEDOT/fedot/core/caching/pipelines_cache_db.py
imports: import pickle
  import sqlite3
  from contextlib import closing
  from os import getpid
  from typing import List, Optional, Tuple, TypeVar
  from fedot.core.caching.base_cache_db import BaseCacheDB
  from fedot.core.operations.operation import Operation
label_desc: Use image node_id 4 for calling the OperationsCacheDB obj's underlying member method code with example usage: obj.add_operations(uid_val_lst) without return types