From: Dagfinn Ilmari Mannsåker Date: Sun, 17 Mar 2013 18:39:24 +0000 (+0000) Subject: Document append behaviour of options setters X-Git-Tag: v0.011017~18 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=6d0602645cc926f519ed0b468de10332adc3748b;p=dbsrgits%2FSQL-Translator.git Document append behaviour of options setters --- diff --git a/lib/SQL/Translator/Schema/Table.pm b/lib/SQL/Translator/Schema/Table.pm index a4ade98..5e69f86 100644 --- a/lib/SQL/Translator/Schema/Table.pm +++ b/lib/SQL/Translator/Schema/Table.pm @@ -795,8 +795,8 @@ These are eqivalent: =head2 options -Get or set the table's options (e.g., table types for MySQL). Returns -an array or array reference. +Get or append to the table's options (e.g., table types for MySQL). +Returns an array or array reference. my @options = $table->options; diff --git a/lib/SQL/Translator/Schema/View.pm b/lib/SQL/Translator/Schema/View.pm index c19501b..c5b9920 100644 --- a/lib/SQL/Translator/Schema/View.pm +++ b/lib/SQL/Translator/Schema/View.pm @@ -77,7 +77,7 @@ with ListAttr tables => ( uniq => 1 ); =head2 options -Gets and sets a list of options on the view. +Gets or appends a list of options on the view. $view->options('ALGORITHM=UNDEFINED');