Skip to content
This repository was archived by the owner on Mar 22, 2018. It is now read-only.
This repository was archived by the owner on Mar 22, 2018. It is now read-only.

Store the taxon_str on the accession record #6

@brettatoms

Description

@brettatoms

It would be way faster to store this on the record rather than query it every time the accession record is looked up. We could hook into an SQLAlchemy after_save event on the Taxon to update the taxon_str on its children accession when it is saved.

If we have taxon_str cached on the accession then we could return it in json() with depth=1

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions