DBIx::C...::ACCESS(3)

πŸ’… DBIx::C...::ACCESS(3) πŸ’…

okay so this is the User Contributed Perl Documentation page for DBIx::C...::ACCESS(3) β€” manual name folded right in at the top, bestie β€” and it's all about the MS Access support situation. It's giving very specific driver energy. πŸ¦‹

🌸 NAME 🌸

  • DBIx::Class::Storage::DBI::ACCESS β€” Support specific to MS Access ✨

πŸ’– DESCRIPTION πŸ’–

This is the base class for Microsoft Access support β€” like, the parent-class main character for MS Access vibes. πŸ‘‘

This driver supports last_insert_id, empty inserts for tables with "AUTOINCREMENT" columns, nested transactions via auto_savepoint, and "GUID" columns via DBIx::Class::Storage::DBI::UniqueIdentifier. Slay. πŸ’…

πŸŽ€ SUPPORTED VERSIONS πŸŽ€

ngl, this module has currently only been tested on MS Access 2010. That's the tested-version tea rn. β˜•

Information about how well it works on different version of MS Access is welcome β€” write the mailing list, or submit a ticket to RT if you find bugs. 🫢

πŸ¦‹ USING GUID COLUMNS πŸ¦‹

If you have "GUID" PKs or other "GUID" columns with auto_nextval you will need to set a new_guid callback, like so:

$schema->storage->new_guid(sub { Data::GUID->new->as_string });

Under Catalyst you can use code similar to this in your Catalyst::Model::DBIC::Schema Model.pm:

after BUILD => sub {
  my $self = shift;
  $self->storage->new_guid(sub { Data::GUID->new->as_string });
};

✨ FURTHER QUESTIONS? ✨

Check the list of additional DBIC resources. iykyk, that's where the extra DBIC lore lives. πŸ“š

This module is free software copyright by the DBIx::Class (DBIC) authors. You can redistribute it and/or modify it under the same terms as the DBIx::Class library. 🫢

πŸ’– cute sign-off: DBIx::C...::ACCESS(3) is from perl v5.42.0, dated 2025-01-22 β€” mwah, bye bestie! πŸ’–

πŸ“¦ where this page comes from