dbix-class
Change inheritance tree of DBIx Class Result classes?
G\'Day, I\'m working with DBIx::Class 0.07003 and DBIx::Class::Schema::Loader 0.03009 and I\'m trying to change the base class of the classes generated by the Loader -- from:[详细]
2023-03-15 15:07 分类:问答DBIx::Class::ResultSet Update or Create on multiple unique constraints
I was wondering if it is possible update_or_开发者_如何学JAVAcreate on multiple unique constraints in dbix[详细]
2023-03-12 12:52 分类:问答DBIx::Class undefined value exception when trying to use ->create()
I\'m trying to create a new row using DBIx::Class from within Catalyst, with the following code: $c->model(\'Session\')->resultset(\'UserPreference\')->create([详细]
2023-03-12 09:51 分类:问答DBIx:Class many-to-many relationship with additional attribute
I\'m working with DBIx::Class in Catalyst framework. My local goal is to add a new many-to-many relationship between users and, let\'s say, tasks. But there\'s one little trick I need. User can have d[详细]
2023-03-07 21:45 分类:问答search by date on DBIx::Class
I have a table in a SQLite database where a column stores file mtimes in epoch seconds. I would now like to search in that table files that were modified in a certain month?[详细]
2023-02-23 15:56 分类:问答Why does DBIx::Class not create many-to-many accessors?
While 开发者_如何学Pythoncreating a schema from a database many-to-many relationships between tables are not created.[详细]
2023-02-20 15:21 分类:问答DBIx::Class virtual column?
I am building an app with a DBIx::Class (Loader) based ORM. Most of my database models have a \'name\' column. 开发者_如何学COne of my controllers searches all schema classes using primarily the \'nam[详细]
2023-02-15 09:44 分类:问答Recursively traversing DBIx::Class relationships
Which is the quickest way to get the list of tables that have foreign key dependencies, both direct and indirect, to DBIx::Class subclass foo? I have a MySQL database based on a DBIx::Class::Schema. C[详细]
2023-02-14 15:44 分类:问答Do I need to manually create indexes for a DBIx::Class belongs_to relationship
I\'m using the DBIx::Class modules for an ORM approach to an application I have. I\'m having some problems with my relationships.[详细]
2023-02-13 01:30 分类:问答DBIx::Class infinite results
Before I describe the details, the problem is, I run a $c->model(\'ResultName\')->search({k=>v}) and when I loop on the results of it\'s has_many relation, there\'s only one in the database, yet it lo[详细]
2023-02-10 15:35 分类:问答