cagey.queries.insert_reactions#

cagey.queries.insert_reactions(connection, reactions, *, commit=True)[source]#

Insert reactions into the database.

Parameters:
  • connection (Connection) – A SQLite connection.

  • reactions (Iterable[Reaction]) – The reactions to insert.

  • commit (bool) – Whether to commit the transaction.

Return type:

None