Commit | Line | Data |
f56e59cd |
1 | package # hide from PAUSE |
2 | DBIx::Class::CDBICompat::NoObjectIndex; |
3 | |
4 | use strict; |
5 | use warnings; |
6 | |
7 | =head1 NAME |
8 | |
9 | DBIx::Class::CDBICompat::NoObjectIndex |
10 | |
11 | =head1 SYNOPSIS |
12 | |
13 | Part of CDBICompat |
14 | |
15 | =head1 DESCRIPTION |
16 | |
17 | Defines empty methods for object indexing. They do nothing. |
18 | |
19 | Using NoObjectIndex instead of LiveObjectIndex and nocache(1) is a little |
20 | faster because it removes code from the object insert and retrieve chains. |
21 | |
22 | =cut |
23 | |
24 | sub nocache { return 1 } |
25 | |
26 | sub purge_dead_from_object_index {} |
27 | |
28 | sub remove_from_object_index {} |
29 | |
30 | sub clear_object_index {} |
31 | |
32 | 1; |