... | ... |
@@ -2,8 +2,9 @@ |
2 | 2 |
- added EXPERIMENTAL available_data_type |
3 | 3 |
- simplified type_rule |
4 | 4 |
- changed type_rule arguments format |
5 |
- - added DBIx::Custom::Model result_filter attribute |
|
6 |
- - added DBIx::Custom::Result filter_off method |
|
5 |
+ - added EXPERIMENTAL DBIx::Custom::Model result_filter attribute |
|
6 |
+ - added EXPERIMETNAL DBIx::Custom::Result filter_off method |
|
7 |
+ - EXPERIMENTAL type_rule can receive filter name |
|
7 | 8 |
0.1688 |
8 | 9 |
- fixed bug that model insert, update, delete select can't |
9 | 10 |
odd number arguments |
... | ... |
@@ -195,7 +195,7 @@ Join clause, this is used as C<select()>'s C<join> option. |
195 | 195 |
Foreign key, this is used as C<primary_key> of C<insert_at>,C<update_at()>, |
196 | 196 |
C<delete_at()>,C<select_at()>. |
197 | 197 |
|
198 |
-=head2 C<result_filter> |
|
198 |
+=head2 C<result_filter> EXPERIMENTAL |
|
199 | 199 |
|
200 | 200 |
my $dbi = $model->result_filter |
201 | 201 |
$model = $model->result_filter( |
... | ... |
@@ -377,6 +377,13 @@ Fetch row into hash. |
377 | 377 |
Filters when a row is fetched. |
378 | 378 |
This overwrites C<default_filter>. |
379 | 379 |
|
380 |
+=head2 C<filter_off> EXPERIMENTAL |
|
381 |
+ |
|
382 |
+ my $filter_off = $resutl->filter_off; |
|
383 |
+ $result = $result->filter_off(1); |
|
384 |
+ |
|
385 |
+Turn filter off. |
|
386 |
+ |
|
380 | 387 |
=head2 C<filters> |
381 | 388 |
|
382 | 389 |
my $filters = $result->filters; |