Christopher Brown > DBIx-MyParseX-0.06 > DBIx::MyParseX::Item

Download:
DBIx-MyParseX-0.06.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.06   Source  

NAME ^

DBIx::MyParseX::Item - Extensions to DBIx::MyParse::Item

SYNOPSIS ^

  use DBIx::MyParseX::Item;

  $item->renameTable( 'old_table', 'new_table' );
  $item->renameTable( 'regex', 'new_table' );

DESCRIPTION ^

This extension provides exteneded functionality for the DBIx::MyParse::Item module. It uses DBIx::MyParse, DBIx::MyParseX and DBIx::MyParse::Item.

METHODS ^

renameTable

    $item->renameTable( 'old_name', 'new_name' )

Descends through the parse tree renaming all instances of old_name to new_name.

getItems

    $item->getItems( );

returns a collapsed list of all DBIx::MyParse::Items from the query tree.

Disadvantages ^

Since the orignal DBIx::MyParse package does not make seperate objects for each ot the items, relying instead on ItemType, we must follow the original framework.

EXPORT

None by default.

SEE ALSO ^

DBIx::MyParse, DBIx::MyParse::Item, DBIx::MyParseX,

http://www.mysql.com

http://www.opendatagroup.com

AUTHOR ^

Christopher Brown, <ctbrown@cpan.org<gt>

COPYRIGHT AND LICENSE ^

Copyright 2008 by Open Data Group

This library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public Licence.

syntax highlighting: