| ... | ... |
@@ -1,5 +1,5 @@ |
| 1 | 1 |
0.1748 |
| 2 |
- - added EXPERIMETNAL use_next_version method |
|
| 2 |
+ - added EXPERIMETNAL use_version1 |
|
| 3 | 3 |
- DBIx::Custom::Query is DEPRECATED! |
| 4 | 4 |
0.1747 |
| 5 | 5 |
- fixed bug DBIx::Custom::Result fetch_hash_multi throw warnings |
| ... | ... |
@@ -1183,9 +1183,11 @@ sub update_timestamp {
|
| 1183 | 1183 |
return $self->{update_timestamp};
|
| 1184 | 1184 |
} |
| 1185 | 1185 |
|
| 1186 |
-sub use_next_version {
|
|
| 1186 |
+sub use_version1 {
|
|
| 1187 | 1187 |
my $self = shift; |
| 1188 |
- |
|
| 1188 |
+ |
|
| 1189 |
+ return if $VERSION >= 1; |
|
| 1190 |
+ |
|
| 1189 | 1191 |
my @modules = ('', qw/::Where ::Util ::Result ::Order ::NotExists ::Model ::Mapper/);
|
| 1190 | 1192 |
|
| 1191 | 1193 |
# Replace |
| ... | ... |
@@ -3413,12 +3415,12 @@ Show type name of the columns of specified table. |
| 3413 | 3415 |
|
| 3414 | 3416 |
This type name is used in C<type_rule>'s C<into1> and C<into2>. |
| 3415 | 3417 |
|
| 3416 |
-=head2 C<use_next_version EXPERIMENTAL> |
|
| 3418 |
+=head2 C<use_version1 EXPERIMENTAL> |
|
| 3417 | 3419 |
|
| 3418 |
- DBIx::Custom->use_next_version; |
|
| 3420 |
+ DBIx::Custom->use_version1; |
|
| 3419 | 3421 |
|
| 3420 |
-Upgrade next major version L<DBIx::Custom>. |
|
| 3421 |
-You can't use DEPRECATED method no more and method performance is improved. |
|
| 3422 |
+Upgrade L<DBIx::Custom> to major version 1 if version is lower than 1. |
|
| 3423 |
+You can't use DEPRECATED method and method performance is improved. |
|
| 3422 | 3424 |
|
| 3423 | 3425 |
=head2 C<values_clause> |
| 3424 | 3426 |
|