projects
/
dbsrgits/SQL-Translator.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
fb7b9db
)
Document append behaviour of options setters
Dagfinn Ilmari Mannsåker [Sun, 17 Mar 2013 18:39:24 +0000 (18:39 +0000)]
lib/SQL/Translator/Schema/Table.pm
patch
|
blob
|
blame
|
history
lib/SQL/Translator/Schema/View.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/SQL/Translator/Schema/Table.pm
b/lib/SQL/Translator/Schema/Table.pm
index
a4ade98
..
5e69f86
100644
(file)
--- 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
(file)
--- 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');