langchain/vectorstores/pgvector.py/CollectionStore/get_by_name
class CollectionStore:    def get_by_name(cls, session: Session, name: str) -> Optional["CollectionStore"]:
        return session.query(cls).filter(cls.name == name).first()  # type: ignore