asDbMatch

Converts a domain model Match instance to a database entity DbMatch.

This function maps the domain match model to a database entity model. It includes converting the domain team models to embedded database team entities.

Return

A DbMatch instance containing the database entity representation of the domain match.