database adapter (notes_labels)