aqt.operations.note
===================

.. py:module:: aqt.operations.note


Functions
---------

.. autoapisummary::

   aqt.operations.note.add_note
   aqt.operations.note.update_note
   aqt.operations.note.update_notes
   aqt.operations.note.remove_notes
   aqt.operations.note.find_and_replace


Module Contents
---------------

.. py:function:: add_note(*, parent: aqt.qt.QWidget, note: anki.notes.Note, target_deck_id: anki.decks.DeckId) -> aqt.operations.CollectionOp[anki.collection.OpChangesWithCount]

.. py:function:: update_note(*, parent: aqt.qt.QWidget, note: anki.notes.Note) -> aqt.operations.CollectionOp[anki.collection.OpChanges]

.. py:function:: update_notes(*, parent: aqt.qt.QWidget, notes: collections.abc.Sequence[anki.notes.Note]) -> aqt.operations.CollectionOp[anki.collection.OpChanges]

.. py:function:: remove_notes(*, parent: aqt.qt.QWidget, note_ids: collections.abc.Sequence[anki.notes.NoteId]) -> aqt.operations.CollectionOp[anki.collection.OpChangesWithCount]

.. py:function:: find_and_replace(*, parent: aqt.qt.QWidget, note_ids: collections.abc.Sequence[anki.notes.NoteId], search: str, replacement: str, regex: bool, field_name: str | None, match_case: bool) -> aqt.operations.CollectionOp[anki.collection.OpChangesWithCount]

