dryvPacks

@dryv/seaorm-entitiesv0.1.0

SeaORM 2.x entity models with primary keys and canonical relations.

SeaORM EntitiesPersistenceUnitPublished 7 days ago2 downloads

dryv pack add @dryv/seaorm-entities
305 BRaw ↗
jinja
{%- for export in file.exports %}
pub mod {{ export.path.relative | replace('.rs', '') | replace('./', '') }};
{%- endfor %}

{%- for export in file.exports %}{% if export.symbol %}
pub use {{ export.path.relative | replace('.rs', '') | replace('./', '') }}::{{ export.symbol }};
{%- endif %}{% endfor %}