Retrieve database metadata for a given datasource.
<bx:DBInfo type=[string]
name=[string]
datasource=[string]
table=[string]
pattern=[string]
dbname=[string]
filter=[string]
username=[string]
password=[string] />
Atrribute | Type | Required | Description | Default |
---|---|---|---|---|
type |
string |
true |
Type of metadata to retrieve. One of: columns , dbnames , tables , foreignkeys , index , procedures , or version . |
|
name |
string |
true |
Name of the variable to which the result will be assigned. Required. | |
datasource |
string |
false |
Name of the datasource to check metadata on. If not provided, the default datasource will be used. | |
table |
string |
false |
Table name for which to retrieve metadata. Required for columns , foreignkeys , and index types. |
|
pattern |
string |
false |
||
dbname |
string |
false |
||
filter |
string |
false |
This is a string value that must match a table type in your database implementation. Each database is different. Some common filter types are:
|
|
username |
string |
false |
||
password |
string |
false |
<bx:DBInfo type=[string]
name=[string]
datasource=[string]
table=[string]
pattern=[string]
dbname=[string]
filter=[string]
username=[string]
password=[string] />