Bug 12608

Summary: Replace use of DBI with DBIx::Class throughout Koha
Product: Koha Reporter: Kyle M Hall <kyle>
Component: Architecture, internals, and plumbingAssignee: Kyle M Hall <kyle>
Status: CLOSED WONTFIX QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: josef.moravec
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on: 11385, 12609, 12610    
Bug Blocks:    

Description Kyle M Hall 2014-07-18 14:40:56 UTC
Now that we have DBIx::Class, we should use it wherever possible.

Long term steps:
1) Replace all DBI inserts and deletes with DBIC creates and deletes
2) Replace all DBI selects with DBIC searches using DBIx::Class::ResultClass::HashRefInflator to return hashrefs for compatibility
3) Move logic from perl modules into Result and ResultSet classes wherever possible and sensible.
Comment 1 Josef Moravec 2017-05-23 19:48:31 UTC
As we are using Koha::Object(s) now, this is not needed now.