<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://adodb.org/dokuwiki/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://adodb.org/dokuwiki/feed.php">
        <title>ADOdb - v5:dictionary:structure</title>
        <description>Database Abstraction Layer for PHP</description>
        <link>https://adodb.org/dokuwiki/</link>
        <image rdf:resource="https://adodb.org/dokuwiki/lib/exe/fetch.php?media=logo.png" />
       <dc:date>2026-05-16T22:31:47+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://adodb.org/dokuwiki/doku.php?id=v5:dictionary:structure:addattribute&amp;rev=1460248904&amp;do=diff"/>
                <rdf:li rdf:resource="https://adodb.org/dokuwiki/doku.php?id=v5:dictionary:structure:addcolumnobject&amp;rev=1460222798&amp;do=diff"/>
                <rdf:li rdf:resource="https://adodb.org/dokuwiki/doku.php?id=v5:dictionary:structure:addindexitemobject&amp;rev=1460222113&amp;do=diff"/>
                <rdf:li rdf:resource="https://adodb.org/dokuwiki/doku.php?id=v5:dictionary:structure:addindexobject&amp;rev=1460222090&amp;do=diff"/>
                <rdf:li rdf:resource="https://adodb.org/dokuwiki/doku.php?id=v5:dictionary:structure:index&amp;rev=1459986478&amp;do=diff"/>
                <rdf:li rdf:resource="https://adodb.org/dokuwiki/doku.php?id=v5:dictionary:structure:introduction&amp;rev=1629965490&amp;do=diff"/>
                <rdf:li rdf:resource="https://adodb.org/dokuwiki/doku.php?id=v5:dictionary:structure:platform&amp;rev=1460226114&amp;do=diff"/>
                <rdf:li rdf:resource="https://adodb.org/dokuwiki/doku.php?id=v5:dictionary:structure:sample_usage&amp;rev=1460231173&amp;do=diff"/>
                <rdf:li rdf:resource="https://adodb.org/dokuwiki/doku.php?id=v5:dictionary:structure:setnewname&amp;rev=1460222674&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://adodb.org/dokuwiki/lib/exe/fetch.php?media=logo.png">
        <title>ADOdb</title>
        <link>https://adodb.org/dokuwiki/</link>
        <url>https://adodb.org/dokuwiki/lib/exe/fetch.php?media=logo.png</url>
    </image>
    <item rdf:about="https://adodb.org/dokuwiki/doku.php?id=v5:dictionary:structure:addattribute&amp;rev=1460248904&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-04-10T00:41:44+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>addAttribute</title>
        <link>https://adodb.org/dokuwiki/doku.php?id=v5:dictionary:structure:addattribute&amp;rev=1460248904&amp;do=diff</link>
        <description>addAttribute



From Version 5.21.0-beta-2

See Also

Structured Schema Management

Column Attributes Reference


Syntax
obj addAttribute(
    mixed $attribute,
    optional string $platform=&#039;&#039;,
    optional integer $priority = -1;
    )
The method addAttribute() is part of the Structured Schema Management</description>
    </item>
    <item rdf:about="https://adodb.org/dokuwiki/doku.php?id=v5:dictionary:structure:addcolumnobject&amp;rev=1460222798&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-04-09T17:26:38+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>addColumnObject</title>
        <link>https://adodb.org/dokuwiki/doku.php?id=v5:dictionary:structure:addcolumnobject&amp;rev=1460222798&amp;do=diff</link>
        <description>addColumnObject



From Version 5.21.0-beta-2

See Also

Structured Schema Management

Column Attributes Reference


Syntax
obj addColumnObject(
    string $columnName,
    string $columnType,
    optional string $platform=&#039;&#039;
)

The method addColumnObject() is part of the Structured Schema Management suite, and adds a column to the current</description>
    </item>
    <item rdf:about="https://adodb.org/dokuwiki/doku.php?id=v5:dictionary:structure:addindexitemobject&amp;rev=1460222113&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-04-09T17:15:13+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>addIndexItemObject</title>
        <link>https://adodb.org/dokuwiki/doku.php?id=v5:dictionary:structure:addindexitemobject&amp;rev=1460222113&amp;do=diff</link>
        <description>addIndexItemObject



From Version 5.21.0-beta-2

See Also

Structured Schema Management

Index Object Creation


Syntax
obj addIndexItemObject(
    string $indexName,
    string $columnName,
    optional string $platform=&#039;&#039;
)

The method addIndexItemObject() is part of the Structured Schema Management</description>
    </item>
    <item rdf:about="https://adodb.org/dokuwiki/doku.php?id=v5:dictionary:structure:addindexobject&amp;rev=1460222090&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-04-09T17:14:50+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>addIndexObject</title>
        <link>https://adodb.org/dokuwiki/doku.php?id=v5:dictionary:structure:addindexobject&amp;rev=1460222090&amp;do=diff</link>
        <description>addIndexObject



From Version 5.21.0-beta-2

See Also

Structured Schema Management


Syntax
obj addIndexObject(
    string $indexName,
    optional string $platform=&#039;&#039;
)

The method addIndexObject() is part of the Structured Schema Management suite, and adds an index to the current</description>
    </item>
    <item rdf:about="https://adodb.org/dokuwiki/doku.php?id=v5:dictionary:structure:index&amp;rev=1459986478&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-04-06T23:47:58+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Structured Schema Management</title>
        <link>https://adodb.org/dokuwiki/doku.php?id=v5:dictionary:structure:index&amp;rev=1459986478&amp;do=diff</link>
        <description>Structured Schema Management



Pages in this namespace:

	* addAttribute
	* addColumnObject
	* addIndexItemObject
	* addIndexObject
	* Platform
	* Sample Usage
	* setNewName
	* Structured Schema Management</description>
    </item>
    <item rdf:about="https://adodb.org/dokuwiki/doku.php?id=v5:dictionary:structure:introduction&amp;rev=1629965490&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-08-26T08:11:30+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Structured Schema Management</title>
        <link>https://adodb.org/dokuwiki/doku.php?id=v5:dictionary:structure:introduction&amp;rev=1629965490&amp;do=diff</link>
        <description>Structured Schema Management



From Version 5.21.0-beta-2

Reference

addAttribute()

addColumnObject()

addIndexObject()

addIndexItemObject()

setNewName()

The Platform Keyword

Sample Usage


Description

From ADOdb Version 5.21, A new method of managing changes to the schema has been added. This method is called Structured schema management to signify the more formal method of managing elements. The original method, referred to as</description>
    </item>
    <item rdf:about="https://adodb.org/dokuwiki/doku.php?id=v5:dictionary:structure:platform&amp;rev=1460226114&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-04-09T18:21:54+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Platform</title>
        <link>https://adodb.org/dokuwiki/doku.php?id=v5:dictionary:structure:platform&amp;rev=1460226114&amp;do=diff</link>
        <description>Platform



From Version 5.21.0-beta-2

See Also

Structured Schema Management

Column Attributes Reference


The keyword Platform is part of the Structured Schema Management suite, and indicates if the application of a metaStructure object or platform should be applied to a specific DBMS. 

The Platform</description>
    </item>
    <item rdf:about="https://adodb.org/dokuwiki/doku.php?id=v5:dictionary:structure:sample_usage&amp;rev=1460231173&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-04-09T19:46:13+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Sample Usage</title>
        <link>https://adodb.org/dokuwiki/doku.php?id=v5:dictionary:structure:sample_usage&amp;rev=1460231173&amp;do=diff</link>
        <description>Sample Usage

This page shows the usage of the metaObjectStructure in various situations.

----------

Complex Example

The following complex example shows the additional functionality of updating indexes, as well as chaining methods


$dict = NewDataDictionary($db);

$t = new metaObjectStructure($dict,&#039;test&#039;);
$t-&gt;addAttribute(&#039;ENGINE INNODB&#039;,&#039;mysql&#039;);
$t-&gt;addColumnObject(&#039;COL1&#039;,&#039;I&#039;);
$t-&gt;addColumnObject(&#039;COL1&#039;,&#039;I&#039;)
                   -&gt;addAttribute(&#039;NOTNULL&#039;);

$c = $t-&gt;addColumnObject(&#039;COL2&#039;,…</description>
    </item>
    <item rdf:about="https://adodb.org/dokuwiki/doku.php?id=v5:dictionary:structure:setnewname&amp;rev=1460222674&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-04-09T17:24:34+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>setNewName</title>
        <link>https://adodb.org/dokuwiki/doku.php?id=v5:dictionary:structure:setnewname&amp;rev=1460222674&amp;do=diff</link>
        <description>setNewName



From Version 5.21.0-beta-2

See Also

Structured Schema Management


Applies To

Table Names

Column Names


Syntax
obj setNewName(
    string $newName
)

The method setNewName() is part of the Structured Schema Management suite, and is used in methods that set new names for objects. The method is only applicable to the &#039;table&#039; and &#039;column&#039; objects.</description>
    </item>
</rdf:RDF>
