text: import aiosqlite as lite
  
  from data import constants
  
  _tbl_name = "tbl_groups"
  _id_row = "id"
  _title_row = "title"
  
  
  async def add_group(group_id: int, group_title: str):
      """Adding group to database if not added yet"""
      async with lite.connect(constants.DB_PATH) as con:
          cur = await con.cursor()
          await cur.execute(f"SELECT {_id_row} FROM {_tbl_name} WHERE {_id_row} = ?", (group_id,))
  
          if not (group_id,) in await cur.fetchall():
              await cur.execute(f"INSERT INTO {_tbl_name}({_id_row}, {_title_row}) VALUES(?, ?)", (group_id, group_title))
              await con.commit()
  