# Pastebin NvAAD97D options = orm.relationship( 'user_options', single_parent=True, cascade='all,delete-orphan', lazy='subquery', backref='user', collection_class=collections.attribute_mapped_collection('option_id'))