Start setting the 'c3' mro unambiguously everywhere
[dbsrgits/DBIx-Class.git] / lib / DBIx / Class / CDBICompat / NoObjectIndex.pm
CommitLineData
f56e59cd 1package # hide from PAUSE
2 DBIx::Class::CDBICompat::NoObjectIndex;
3
4use strict;
5use warnings;
6
7=head1 NAME
8
b24d86a1 9DBIx::Class::CDBICompat::NoObjectIndex - Defines empty methods for object indexing. They do nothing
f56e59cd 10
11=head1 SYNOPSIS
12
13 Part of CDBICompat
14
15=head1 DESCRIPTION
16
17Defines empty methods for object indexing. They do nothing.
18
19Using NoObjectIndex instead of LiveObjectIndex and nocache(1) is a little
20faster because it removes code from the object insert and retrieve chains.
21
22=cut
23
24sub nocache { return 1 }
25
c27646a3 26sub purge_object_index_every {}
27
f56e59cd 28sub purge_dead_from_object_index {}
29
30sub remove_from_object_index {}
31
32sub clear_object_index {}
33
a2bd3796 34=head1 FURTHER QUESTIONS?
35
36Check the list of L<additional DBIC resources|DBIx::Class/GETTING HELP/SUPPORT>.
37
38=head1 COPYRIGHT AND LICENSE
39
40This module is free software L<copyright|DBIx::Class/COPYRIGHT AND LICENSE>
41by the L<DBIx::Class (DBIC) authors|DBIx::Class/AUTHORS>. You can
42redistribute it and/or modify it under the same terms as the
43L<DBIx::Class library|DBIx::Class/COPYRIGHT AND LICENSE>.
44
45=cut
46
f56e59cd 471;