Showing 2 changed files with 3 additions and 0 deletions
+1
Changes
... ...
@@ -1,4 +1,5 @@
1 1
 0.1730
2
+    - insert method's id option is DEPRECATED!
2 3
     - fixed id option bug when column name is anbiguous
3 4
 0.1729
4 5
     - dbi_option attribute is renamed to option, dbi_option is DEPRECATED!
+2
lib/DBIx/Custom.pm
... ...
@@ -629,6 +629,7 @@ sub insert {
629 629
 
630 630
     # Merge parameter
631 631
     if (defined $id) {
632
+        warn "insert method's id option is DEPRECATED!";
632 633
         my $id_param = $self->_create_param_from_id($id, $primary_key);
633 634
         $param = $self->merge_param($id_param, $param);
634 635
     }
... ...
@@ -3529,6 +3530,7 @@ L<DBIx::Custom>
3529 3530
     update_param_tag # will be removed at 2017/1/1
3530 3531
     
3531 3532
     # Options
3533
+    insert method id option # will be removed at 2017/1/1
3532 3534
     select method relation option # will be removed at 2017/1/1
3533 3535
     select method param option # will be removed at 2017/1/1
3534 3536
     select method column option [COLUMN, as => ALIAS] format