Showing 2 changed files with 8 additions and 8 deletions
+1 -1
Changes
... ...
@@ -1,7 +1,7 @@
1 1
 0.1712
2 2
     - you can set any string as separator
3 3
     - fixed memory leak and connection increasing bug, and query_buider method return new object.
4
-    - added EXPERIMENTAL system_table attribute
4
+    - added EXPERIMENTAL exclude_table attribute
5 5
 0.1711
6 6
     - renamed EXPERIMENTAL available_type_name to available_typename
7 7
     - renamed EXPERIMENTAL available_data_type to available_datatype
+7 -7
lib/DBIx/Custom.pm
... ...
@@ -19,7 +19,7 @@ use Encode qw/encode encode_utf8 decode_utf8/;
19 19
 use constant DEBUG => $ENV{DBIX_CUSTOM_DEBUG} || 0;
20 20
 use constant DEBUG_ENCODING => $ENV{DBIX_CUSTOM_DEBUG_ENCODING} || 'UTF-8';
21 21
 
22
-has [qw/connector dsn password quote user system_table/],
22
+has [qw/connector dsn password quote user exclude_table/],
23 23
     cache => 0,
24 24
     cache_method => sub {
25 25
         sub {
... ...
@@ -301,7 +301,7 @@ sub create_model {
301 301
 sub each_column {
302 302
     my ($self, $cb) = @_;
303 303
 
304
-    my $re = $self->system_table;
304
+    my $re = $self->exclude_table;
305 305
     
306 306
     # Iterate all tables
307 307
     my $sth_tables = $self->dbh->table_info;
... ...
@@ -326,7 +326,7 @@ sub each_column {
326 326
 sub each_table {
327 327
     my ($self, $cb) = @_;
328 328
     
329
-    my $re = $self->system_table;
329
+    my $re = $self->exclude_table;
330 330
     
331 331
     # Iterate all tables
332 332
     my $sth_tables = $self->dbh->table_info;
... ...
@@ -2014,16 +2014,16 @@ Note that you don't have to specify like '[\w]'.
2014 2014
 Separator whichi join table and column.
2015 2015
 This is used by C<column> and C<mycolumn> method.
2016 2016
 
2017
-=head2 C<system_table EXPERIMENTAL>
2017
+=head2 C<exclude_table EXPERIMENTAL>
2018 2018
 
2019
-    my $system_table = $self->system_table;
2020
-    $dbi = $self->system_table(qr/pg_/);
2019
+    my $exclude_table = $self->exclude_table;
2020
+    $dbi = $self->exclude_table(qr/pg_/);
2021 2021
 
2022 2022
 Regex matching system table.
2023 2023
 this regex match is used by C<each_table> method and C<each_column> method
2024 2024
 System table is ignored.
2025 2025
 C<type_rule> method and C<setup_model> method call
2026
-C<each_table>, so if you set C<system_table> properly,
2026
+C<each_table>, so if you set C<exclude_table> properly,
2027 2027
 The performance is up.
2028 2028
 
2029 2029
 =head2 C<tag_parse>