Skip to Content Skip to Search

Module with Note’s attribute readers, writers, and accessors.

Attributes

[R] cards

The note’s card objects, as an array

[R] data

Corresponds to the data column in the collection.anki21 notes table

[R] deck

The note’s deck.

When the note is saved, the note will belong to this deck

[R] field_contents

The note’s field contents as a hash

[R] flags

Corresponds to the flags column in the collection.anki21 notes table

[RW] guid

The note’s globally unique id

This is used by Anki to match an imported note to an existing note and update it rather than duplicate the note.

[R] id

The note’s id

[R] last_modified_timestamp

The number of seconds since the 1970 epoch when the note was last modified.

[R] note_type

The note’s note type

[R] tags

The note’s tags, as an array of strings

[R] usn

The note’s update sequence number