Module seeding

Module seeding 

Source
Expand description

Data seeding functionality

This module provides functionality to seed the VBR database with initial data from JSON/YAML files or programmatically via API.

Functions§

clear_all
Clear all data from all entities
clear_entity
Clear all data from an entity
load_seed_file
Load seed data from a file (auto-detect format)
load_seed_file_json
Load seed data from a JSON file
load_seed_file_yaml
Load seed data from a YAML file
seed_all
Seed multiple entities with dependency ordering
seed_entity
Seed a single entity with records

Type Aliases§

SeedData
Seed data structure