Repository navigation
Releases
Releases · ericchaves/dg
novas funções
- melhorias no pick generator
- adição de novas funções no expr generator
pick generator improvements
refatored pick generato:
- allow it to with or work without a matching column.
- added flags to control the uniquiness of values and how to behave when missing values.
Added pick generator and extended configurations
Added pick generator
Updated dist generator to support expression as source of values
Added extends attribute to configuration as another way to break down complex configurations for reuse.
v2.9.13-preview
Added two features to help handling or reuse config files: range from command and combined config files.
v2.9.12-preview
Go Templates Integration: Integrated Go templates with the gen generator for enhanced templating capabilities.
Range Enhancements: Enhanced the range generator to pick up values from a previous table, enabling the creation of partitioned files.
Brazilian Identifiers: Added functions for generating Brazilian CPF and CNPJ numbers.
File Output Improvements: Preserved the column order when writing files
New Generators:
- cuid2: Next-generation UUIDs, offering improved uniqueness.
- expr: Enables dynamic expressions using the expr-lang lib for flexible data manipulation.
- rand: Generates random values for integers, float64, and dates.
- rel_date: Generates dates within a specified time span from a given range.
- case: Generates values based on a set of conditional (when/then) statements.
- fk: Supports generating relationships with variable cardinality, particularly useful for database seeding with 1:N cardinality.
- map: map values based on the distinct values of another column.
- lookup: generates column values based on cross-table lookups.
-dist: generates distribution proportionally.