1 package DBIx::Class::Storage::DBI::ADO::MS_Jet::Cursor;
5 use base 'DBIx::Class::Storage::DBI::Cursor';
8 use DBIx::Class::Storage::DBI::ADO::CursorUtils '_normalize_guids';
9 use DBIx::Class::ResultSource::FromSpec::Util 'fromspec_columns_info';
14 DBIx::Class::Storage::DBI::ADO::MS_Jet::Cursor - GUID Support for MS Access over
19 This class is for normalizing GUIDs retrieved from Microsoft Access over ADO.
21 You probably don't want to be here, see
22 L<DBIx::Class::Storage::DBI::ACCESS> for information on the Microsoft
25 Unfortunately when using L<DBD::ADO>, GUIDs come back wrapped in braces, the
26 purpose of this class is to remove them.
27 L<DBIx::Class::Storage::DBI::ADO::MS_Jet> sets
28 L<cursor_class|DBIx::Class::Storage::DBI/cursor_class> to this class by default.
29 It is overridable via your
30 L<connect_info|DBIx::Class::Storage::DBI/connect_info>.
32 You can use L<DBIx::Class::Cursor::Cached> safely with this class and not lose
33 the GUID normalizing functionality,
34 L<::Cursor::Cached|DBIx::Class::Cursor::Cached> uses the underlying class data
35 for the inner cursor class.
42 my @row = $self->next::method(@_);
46 $self->{_colinfos} ||= fromspec_columns_info($self->args->[0]),
57 my @rows = $self->next::method(@_);
61 $self->{_colinfos} ||= fromspec_columns_info($self->args->[0]),
69 =head1 FURTHER QUESTIONS?
71 Check the list of L<additional DBIC resources|DBIx::Class/GETTING HELP/SUPPORT>.
73 =head1 COPYRIGHT AND LICENSE
75 This module is free software L<copyright|DBIx::Class/COPYRIGHT AND LICENSE>
76 by the L<DBIx::Class (DBIC) authors|DBIx::Class/AUTHORS>. You can
77 redistribute it and/or modify it under the same terms as the
78 L<DBIx::Class library|DBIx::Class/COPYRIGHT AND LICENSE>.