Showing 1 changed files with 9 additions and 9 deletions
+9 -9
lib/DBIx/Custom.pm
... ...
@@ -2159,16 +2159,16 @@ Result class, default to L<DBIx::Custom::Result>.
2159 2159
 
2160 2160
 =head2 C<safety_character>
2161 2161
 
2162
-    my $safety_character = $self->safety_character;
2163
-    $dbi = $self->safety_character($character);
2162
+    my $safety_character = $dbi->safety_character;
2163
+    $dbi = $dbi->safety_character($character);
2164 2164
 
2165 2165
 Regex of safety character for table and column name, default to '\w'.
2166 2166
 Note that you don't have to specify like '[\w]'.
2167 2167
 
2168 2168
 =head2 C<separator>
2169 2169
 
2170
-    my $separator = $self->separator;
2171
-    $dbi = $self->separator('-');
2170
+    my $separator = $dbi->separator;
2171
+    $dbi = $dbi->separator('-');
2172 2172
 
2173 2173
 Separator which join table name and column name.
2174 2174
 This have effect to C<column> and C<mycolumn> method,
... ...
@@ -2178,8 +2178,8 @@ Default to C<.>.
2178 2178
 
2179 2179
 =head2 C<exclude_table>
2180 2180
 
2181
-    my $exclude_table = $self->exclude_table;
2182
-    $dbi = $self->exclude_table(qr/pg_/);
2181
+    my $exclude_table = $dbi->exclude_table;
2182
+    $dbi = $dbi->exclude_table(qr/pg_/);
2183 2183
 
2184 2184
 Excluded table regex.
2185 2185
 C<each_column>, C<each_table>, C<type_rule>,
... ...
@@ -2676,7 +2676,7 @@ Turn C<into2> type rule off.
2676 2676
 
2677 2677
 =head2 C<get_column_info>
2678 2678
 
2679
-    my $tables = $self->get_column_info(exclude_table => qr/^system_/);
2679
+    my $tables = $dbi->get_column_info(exclude_table => qr/^system_/);
2680 2680
 
2681 2681
 get column infomation except for one which match C<exclude_table> pattern.
2682 2682
 
... ...
@@ -2687,7 +2687,7 @@ get column infomation except for one which match C<exclude_table> pattern.
2687 2687
 
2688 2688
 =head2 C<get_table_info>
2689 2689
 
2690
-    my $tables = $self->get_table_info(exclude => qr/^system_/);
2690
+    my $tables = $dbi->get_table_info(exclude => qr/^system_/);
2691 2691
 
2692 2692
 get table infomation except for one which match C<exclude> pattern.
2693 2693
 
... ...
@@ -2933,7 +2933,7 @@ Get a L<DBIx::Custom::Model> object,
2933 2933
 
2934 2934
 =head2 C<mycolumn>
2935 2935
 
2936
-    my $column = $self->mycolumn(book => ['author', 'title']);
2936
+    my $column = $dbi->mycolumn(book => ['author', 'title']);
2937 2937
 
2938 2938
 Create column clause for myself. The follwoing column clause is created.
2939 2939