Lists all the currently-open databases.
numero = 202[listdatabases]Name: [name]The following tags are available inside a [listdatabases] context:
# Records: [numrecords][/listdatabases]
Tag | Description |
---|---|
[name] | the name of the database (can be a partial or full path). |
[index] | A number from 1 to the total number of databases, indicating this database's index placement in the list. |
[numrecords] | The number of records (rows) in this database. |
[numfields] | The number of fields (columns) in this database. |
[memoryusage] | Woukd show the RAM usage for a specific database. [format thousands 0d][math][memoryusage]/1024[/math][/format]K |
[xxx] | Any other WebDNA tag or context, including [ListFields] [listfields path=[name]][fieldname], [/listfields] |
[break] | From version 8.1, if the [listdatabases] context sees the [break] tag while executing a loop, it will stop looping, once it finishes the current loop. Thus the [break] tag should only appear in a [showif] statement that is evaluated at the end (bottom) of the loop. |
[listdatabases]
Name: [name]
# Records: [numrecords]
[/listdatabases]
Tag | Description |
---|---|
[name] | the name of the database (can be a partial or full path). |
[index] | A number from 1 to the total number of databases, indicating this database's index placement in the list. |
[numrecords] | The number of records (rows) in this database. |
[numfields] | The number of fields (columns) in this database. |
[memoryusage] | Woukd show the RAM usage for a specific database. [format thousands 0d][math][memoryusage]/1024[/math][/format]K |
[xxx] | Any other WebDNA tag or context, including [listfields] [listfields path=[name]][fieldname], [/listfields] |
[break] | From version 8.1, if the [listdatabases] context sees the [break] tag while executing a loop, it will stop looping, once it finishes the current loop. Thus the [break] tag should only appear in a [showif] statement that is evaluated at the end (bottom) of the loop. |
DOWNLOAD WEBDNA NOW!
Amazon Web Services (AWS) README for Machine Image ID...
Download WebDNA ApplicationsWebDNA applications...
Technical Change HistoryThis Technical Change History provides a reverse chronological list of WebDNA changes...
WebDNA LibrariesA list of available libraries for WebDNA...
Tips and TricksA list of user-submitted tips ...
F.A.QA compilation of some user's questions...
[encrypt] and [decrypt] allow you to store sensitive data in your databases without risk of exposing it to prying eyes...
[getchars]Extracts a portion of the text (also known as substring or Mid$)...
[setheader]Changes header values in a shopping cart...
[spawn]Creates a new thread to execute WebDNA simultaneously with the current template...
[exclusivelock]Prevents other threads from simultaneously accessing a group of databases...
[referrer]Displays the URL of the referring page...