Home
Download
User Info
New User FAQ
Tutorials
Demos
Commands
Variables
Troubleshooting
Sysop Info
Sysop FAQ
Theory
Installation
Management
Tests
Troubleshooting
Feedback
Resources
Release Notes
Credits
Disclaimer
|
DBDUMP - Neowebscript Synopsis * Description
Dumps database contents Synopsis
- dbdump database ?-option value -option value ..?
Description
This command takes the contents of the database database and outputs
it into the current webpage. By default, it outputs the entire contents of the database file into the current webpage. Each record in the database will start with its key, enclosed in square brackets \[\]. There is a blank line, then a line with the word \"array\" in bold. After that, each field in the record is output, one per line, name = value. Other formats are possible.
The options and their values are described below.
- -pattern pattern
- Returns all records in the database whose key matches pattern (using the glob style matching rules of string match). If there are no matching keys, then an empty list is returned.
- -file filename
- Specifies a data file to store the database contents, in addition to outputting it to the webpage. Stores one record per line, with a seperator between each field.
- -seperator char
- Specifies a character to seperate the fields of the records. Defaults to a comma (,).
- -nws or -neowebscript
- Formats output for later import by the dbimport command. It will always reformat output to a data file, but to affect webpage format it must be used in conjuction with -format delineated
- -format format
- This option can take three values.
parray is the default, as described above.
list each record will start with its key in square brackets \[\]. The next line will have the record, name=value, with a seperator between.
delineated when used alone, each record appears on one line, with a seperator between each field. When used in conjunction with -nws or
-neowebscript, the data is formatted for later import via the dbimport command.
|