DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:dbtables

This is an old revision of the document!


dbtables plugin

Compatible with DokuWiki

>= 2009-12-25

plugin Render database schemas in Dokuwiki format. Useful for DB Dev'rs

Last updated on
2010-09-29
Provides
Helper, Render

This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.

Tagged with database, db, tables

Download and Installation

Download and install the plugin using the Plugin Manager using the URL given above. Refer to Plugins on how to install plugins manually.

Download the plugin from here - Copy/Paste URL into UPLOAD in the Plugin Manager

Demo here

Syntax and Usage

<dbtables {options}>
.
.
.
</dbtables>
<dbtables groups=4;cols=4;c1=Col1;c2=Col2;c3=Col3;c4=Col4;fdelim=:;thead=_>

Options

OptionDescriptionDefault
groupsHow many horizontal DW-tables are displayed4
colsHow many columns per DW-table are rendered4
c{#}Name of DW-table field, where # the field numberc1=Field;c2=Type;c3=Relation;c4=Desc
fdelimField Delimeter - Character representing how each DW-DB field is seperated:
theadTable Heading - Character representing the line in which a table name is defined_ {Underscore}
twidthWidth of the HTML tableUndefined - Dokuwiki decides
nosortWhen assigned any value, does not sort the table names. Sorting happens by default.Undefined
norenderOutputs the DW-tables in Dokuwiki text formatUndefined

Example

<dbtables>
_Table1
TableID:int:PK:ID of Table
TableName:varchar(50)

_Table2
TableID:int:PK
TableParent:int:FK->Table1.TableID
TableDesc:varchar(50)::Description of Table:You won't see this rendered if cols=4

_Table3
TableID:int:PK
_Table4
TableID:int:PK
_Table5
TableID:int:PK
_Table6
TableID:int:PK
</dbtables>
plugin/dbtables.1285755771.txt.gz · Last modified: 2010-09-29 12:22 by 99.235.196.241

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki