PopulatorDialog Class Reference
Simple (testing/QA) data generator for tables.
Populator tries to guess what to insert into the table. It finds if the requested value is number/text/primary key and its size. When user choose "resume errors" checkbox in its GUI the
Populator runs until the end and does not check any errors. When it's disabled by user, the first error (e.g. unique constraint or trigger test violated) stops the execution.
More...
#include <populatordialog.h>
List of all members.
|
Public Member Functions |
| | PopulatorDialog (QWidget *parent=0, const QString &table=0, const QString &schema=0) |
Detailed Description
Simple (testing/QA) data generator for tables.
Populator tries to guess what to insert into the table. It finds if the requested value is number/text/primary key and its size. When user choose "resume errors" checkbox in its GUI the
Populator runs until the end and does not check any errors. When it's disabled by user, the first error (e.g. unique constraint or trigger test violated) stops the execution.
Currently implemented actions: T_AUTO: it populates values with max(column)+1 number values T_NUMB: random number for column size T_TEXT: random text for column size T_PREF: prefixed text. See textPrefixedValues() for more info. T_STAT: static value. No computings, only user given string/number. T_IGNORE: nothing inserted. It's left for table default/null value.
- Author:
- Petr Vanek <petr@scribus.ifno>
Constructor & Destructor Documentation
| PopulatorDialog::PopulatorDialog |
( |
QWidget * |
parent = 0, |
|
|
const QString & |
table = 0, |
|
|
const QString & |
schema = 0 | |
|
) |
| | |
The documentation for this class was generated from the following files: