Remove Class::Data::Inheritable and use CAG 'inherited' style accessors
[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
5e0eea35 7use base 'DBIx::Class';
8
f56e59cd 9=head1 NAME
10
b24d86a1 11DBIx::Class::CDBICompat::NoObjectIndex - Defines empty methods for object indexing. They do nothing
f56e59cd 12
13=head1 SYNOPSIS
14
15 Part of CDBICompat
16
17=head1 DESCRIPTION
18
19Defines empty methods for object indexing. They do nothing.
20
21Using NoObjectIndex instead of LiveObjectIndex and nocache(1) is a little
22faster because it removes code from the object insert and retrieve chains.
23
24=cut
25
26sub nocache { return 1 }
27
c27646a3 28sub purge_object_index_every {}
29
f56e59cd 30sub purge_dead_from_object_index {}
31
32sub remove_from_object_index {}
33
34sub clear_object_index {}
35
a2bd3796 36=head1 FURTHER QUESTIONS?
37
38Check the list of L<additional DBIC resources|DBIx::Class/GETTING HELP/SUPPORT>.
39
40=head1 COPYRIGHT AND LICENSE
41
42This module is free software L<copyright|DBIx::Class/COPYRIGHT AND LICENSE>
43by the L<DBIx::Class (DBIC) authors|DBIx::Class/AUTHORS>. You can
44redistribute it and/or modify it under the same terms as the
45L<DBIx::Class library|DBIx::Class/COPYRIGHT AND LICENSE>.
46
47=cut
48
f56e59cd 491;