![]() Table.addLines: number // Number of rows to be inserted on a single run.Table.maxLines: number // Maximum number of rows this table should contains.Table.lines: number // Deprecated in favor of maxLines.tables: Table // list of tables handled by the tool.values: : any // an object of user defined array of values.You can set this parameter or ignoredTables depending on the number of table to work with tablesToFill: string // list of table name that should be analysed and filled.seed: number // The seed used by the random generator.This will override your custom column max value if it's bigger than maxLengthValue. maxLengthValue: number? // Hard limit of the maximum number of characters in string column type.options: Array // an array of column options to configure specific generators for the whole file generator is an array of string to allow multiple settings at once.ignoredTables: string // list of table name that should not be analysed nor filled.engine: "MariaDB" // only MariaDB is supported for the time being but it should also be compatible with MySQL. ![]() ![]() disableTriggers: boolean // disable triggers per table during process and recreate them afterward.columns in table are ordered accordingly to your custom schema so you can rely on other column value in the same row.insert rows until it reaches the defined table limit.get the values of foreign keys if needed.Those scripts can contains DELIMITER caommands as they will be run directly by MySQL client executable.Īs they will be run every time the generation is launched you have to take care of the cleanup.įor every tables listed in settings/schema.jsonc, the tool will: sql scripts are provided within the settings/scripts folder, they will be played before generation.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |