| | 45 | All of the following options are set using: |
| | 46 | |
| | 47 | {{{ |
| | 48 | s3xrc.model.configure(table, key=value) |
| | 49 | }}} |
| | 50 | |
| | 51 | where: |
| | 52 | - '''table''' is the respective DB table |
| | 53 | - '''key''' is the setting key |
| | 54 | - '''value''' is the configuration value |
| | 55 | |
| | 56 | You can specify multiple settings at once: |
| | 57 | {{{ |
| | 58 | s3xrc.model.configure(table, key1=value1, key2=value2, ...) |
| | 59 | }}} |
| | 60 | |
| | 61 | '''configure''' overrides any settings that have been made for that table before (e.g. in the model), where only the specified keys are changed while all others are left untouched. |
| | 62 | |
| | 63 | You can also delete a particular setting by: |
| | 64 | |
| | 65 | {{{ |
| | 66 | s3xrc.model.clear_config(table, "key") |
| | 67 | }}} |
| | 68 | |
| | 69 | where "key" must be the respective key as ''string''. |