Showing 3 changed files with 3 additions and 1 deletions
+1
Changes
... ...
@@ -1,4 +1,5 @@
1 1
 0.1743
2
+    - DBIx::Custom::Model execute method is DEPRECATED!
2 3
     - fixed bug that update_all can't receive parameter as first argument
3 4
     - fixed bug that delete_all can't receive parameter as first argument
4 5
     - fixed where clause parsing bug when time(like 00:00:00) contain
+1
lib/DBIx/Custom.pm
... ...
@@ -3462,6 +3462,7 @@ L<DBIx::Custom>
3462 3462
 L<DBIx::Custom::Model>
3463 3463
 
3464 3464
     # Attribute methods
3465
+    execute # will be removed at 2017/1/1
3465 3466
     method # will be removed at 2017/1/1
3466 3467
     filter # will be removed at 2017/1/1
3467 3468
     name # will be removed at 2017/1/1
+1 -1
lib/DBIx/Custom/Model.pm
... ...
@@ -79,8 +79,8 @@ sub update_or_insert {
79 79
                 : $self->insert($param, %opt, %{$statement_opt->{insert} || {}});
80 80
 }
81 81
 
82
-
83 82
 sub execute {
83
+    warn "DBIx::Custom::Model execute method is DEPRECATED!";
84 84
     my $self = shift;
85 85
     return $self->dbi->execute(
86 86
         shift,