#dbixclass — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #dbixclass, aggregated by home.social.
-
@manwar What a great surprise for new year! Not my pain point exactly but certainly relevant to many users. Thanks for your contribution!
But it looks like no cursors are supported, results are neither Result/ResultSet objects and all rows are plain hashrefs. So you're missing all Result object capabilities😕 With only the search API you get only half the power of DBIC😔
Do you think you could support cursors in a future release? I think many usecases call for both async IO and cursors for looping over large datasets.
-
@manwar What a great surprise for new year! Not my pain point exactly but certainly relevant to many users. Thanks for your contribution!
But it looks like no cursors are supported, results are neither Result/ResultSet objects and all rows are plain hashrefs. So you're missing all Result object capabilities😕 With only the search API you get only half the power of DBIC😔
Do you think you could support cursors in a future release? I think many usecases call for both async IO and cursors for looping over large datasets.
-
@manwar What a great surprise for new year! Not my pain point exactly but certainly relevant to many users. Thanks for your contribution!
But it looks like no cursors are supported, results are neither Result/ResultSet objects and all rows are plain hashrefs. So you're missing all Result object capabilities😕 With only the search API you get only half the power of DBIC😔
Do you think you could support cursors in a future release? I think many usecases call for both async IO and cursors for looping over large datasets.
-
@manwar What a great surprise for new year! Not my pain point exactly but certainly relevant to many users. Thanks for your contribution!
But it looks like no cursors are supported, results are neither Result/ResultSet objects and all rows are plain hashrefs. So you're missing all Result object capabilities😕 With only the search API you get only half the power of DBIC😔
Do you think you could support cursors in a future release? I think many usecases call for both async IO and cursors for looping over large datasets.
-
@manwar What a great surprise for new year! Not my pain point exactly but certainly relevant to many users. Thanks for your contribution!
But it looks like no cursors are supported, results are neither Result/ResultSet objects and all rows are plain hashrefs. So you're missing all Result object capabilities😕 With only the search API you get only half the power of DBIC😔
Do you think you could support cursors in a future release? I think many usecases call for both async IO and cursors for looping over large datasets.
-
@peateasea Reading the article it looks like you need to create a PP object and then throw a resultset object at it.
Have you considered extending it that one could load it as a plugin to their resultset (base) class and call a method on any resultset object?
-
@peateasea Reading the article it looks like you need to create a PP object and then throw a resultset object at it.
Have you considered extending it that one could load it as a plugin to their resultset (base) class and call a method on any resultset object?
-
@peateasea Reading the article it looks like you need to create a PP object and then throw a resultset object at it.
Have you considered extending it that one could load it as a plugin to their resultset (base) class and call a method on any resultset object?
-
@peateasea Reading the article it looks like you need to create a PP object and then throw a resultset object at it.
Have you considered extending it that one could load it as a plugin to their resultset (base) class and call a method on any resultset object?
-
@peateasea Reading the article it looks like you need to create a PP object and then throw a resultset object at it.
Have you considered extending it that one could load it as a plugin to their resultset (base) class and call a method on any resultset object?
-
@demiguise One more thing: If you want to get more experience with #DBIxClass and how Coocook is using it you could also contribute a small task that involves DBIC.
We always have some issues open labelled with "good first issues" for beginners.
https://gitlab.com/coocook/coocook/-/issues?label_name[]=good%20first%20issueIn particular there’s issue #320 that’s about simply removing some old fallback which allows removing a UNIQUE constraint from the DB.
https://gitlab.com/coocook/coocook/-/issues/320If you want to give it a try I’d be glad to help you tackle this 😁
-
@demiguise One more thing: If you want to get more experience with #DBIxClass and how Coocook is using it you could also contribute a small task that involves DBIC.
We always have some issues open labelled with "good first issues" for beginners.
https://gitlab.com/coocook/coocook/-/issues?label_name[]=good%20first%20issueIn particular there’s issue #320 that’s about simply removing some old fallback which allows removing a UNIQUE constraint from the DB.
https://gitlab.com/coocook/coocook/-/issues/320If you want to give it a try I’d be glad to help you tackle this 😁
-
@demiguise One more thing: If you want to get more experience with #DBIxClass and how Coocook is using it you could also contribute a small task that involves DBIC.
We always have some issues open labelled with "good first issues" for beginners.
https://gitlab.com/coocook/coocook/-/issues?label_name[]=good%20first%20issueIn particular there’s issue #320 that’s about simply removing some old fallback which allows removing a UNIQUE constraint from the DB.
https://gitlab.com/coocook/coocook/-/issues/320If you want to give it a try I’d be glad to help you tackle this 😁
-
@demiguise If you’re asking to “hear” something about #DBIxClass from me personally:
There’s my 14min talk about database migrations with DBIC (English slides, German talk, no English subtitles yet) from 20th German #Perl Workshop #gpw2018 online. That’s pretty much the toolset Coocook still uses today. Can’t believe this talk was already 7 years ago 🙈
https://www.youtube.com/watch?v=iWmVlDXsKFU📢 @dboehmer (that’s me 😁) is also available for hire to do DBIC talks, trainings, consulting </advertisement> 😎
-
@demiguise If you’re asking to “hear” something about #DBIxClass from me personally:
There’s my 14min talk about database migrations with DBIC (English slides, German talk, no English subtitles yet) from 20th German #Perl Workshop #gpw2018 online. That’s pretty much the toolset Coocook still uses today. Can’t believe this talk was already 7 years ago 🙈
https://www.youtube.com/watch?v=iWmVlDXsKFU📢 @dboehmer (that’s me 😁) is also available for hire to do DBIC talks, trainings, consulting </advertisement> 😎
-
@demiguise If you’re asking to “hear” something about #DBIxClass from me personally:
There’s my 14min talk about database migrations with DBIC (English slides, German talk, no English subtitles yet) from 20th German #Perl Workshop #gpw2018 online. That’s pretty much the toolset Coocook still uses today. Can’t believe this talk was already 7 years ago 🙈
https://www.youtube.com/watch?v=iWmVlDXsKFU📢 @dboehmer (that’s me 😁) is also available for hire to do DBIC talks, trainings, consulting </advertisement> 😎
-
@demiguise If you’re asking to “hear” something about #DBIxClass from me personally:
There’s my 14min talk about database migrations with DBIC (English slides, German talk, no English subtitles yet) from 20th German #Perl Workshop #gpw2018 online. That’s pretty much the toolset Coocook still uses today. Can’t believe this talk was already 7 years ago 🙈
https://www.youtube.com/watch?v=iWmVlDXsKFU📢 @dboehmer (that’s me 😁) is also available for hire to do DBIC talks, trainings, consulting </advertisement> 😎
-
@demiguise I still found ORMs in other languages inferior compared to #DBIxClass. Anyway we’ve learned something since the incarnation of DBIC nearly 20 years ago. That’s why Chad Granum started DBIx-QuickORM last year. The repo hasn’t seem activity for some months now but I still hope this project will fly.
https://metacpan.org/dist/DBIx-QuickORM -
@demiguise I still found ORMs in other languages inferior compared to #DBIxClass. Anyway we’ve learned something since the incarnation of DBIC nearly 20 years ago. That’s why Chad Granum started DBIx-QuickORM last year. The repo hasn’t seem activity for some months now but I still hope this project will fly.
https://metacpan.org/dist/DBIx-QuickORM -
@demiguise I still found ORMs in other languages inferior compared to #DBIxClass. Anyway we’ve learned something since the incarnation of DBIC nearly 20 years ago. That’s why Chad Granum started DBIx-QuickORM last year. The repo hasn’t seem activity for some months now but I still hope this project will fly.
https://metacpan.org/dist/DBIx-QuickORM -
@demiguise I still found ORMs in other languages inferior compared to #DBIxClass. Anyway we’ve learned something since the incarnation of DBIC nearly 20 years ago. That’s why Chad Granum started DBIx-QuickORM last year. The repo hasn’t seem activity for some months now but I still hope this project will fly.
https://metacpan.org/dist/DBIx-QuickORM -
@demiguise Unfortunately though the development of #DBIxClass has stalled and there even seems to be unclarity about the project’s ownership and governance. Don’t expect new releases or even further development. This is really a sad state for a framework that I consider one of #Perl’s potential USPs 😔 DBIC is so mature that you can still use it reliably though.
-
@demiguise Unfortunately though the development of #DBIxClass has stalled and there even seems to be unclarity about the project’s ownership and governance. Don’t expect new releases or even further development. This is really a sad state for a framework that I consider one of #Perl’s potential USPs 😔 DBIC is so mature that you can still use it reliably though.
-
@demiguise Unfortunately though the development of #DBIxClass has stalled and there even seems to be unclarity about the project’s ownership and governance. Don’t expect new releases or even further development. This is really a sad state for a framework that I consider one of #Perl’s potential USPs 😔 DBIC is so mature that you can still use it reliably though.
-
@demiguise Unfortunately though the development of #DBIxClass has stalled and there even seems to be unclarity about the project’s ownership and governance. Don’t expect new releases or even further development. This is really a sad state for a framework that I consider one of #Perl’s potential USPs 😔 DBIC is so mature that you can still use it reliably though.
-
@demiguise Well, #DBIxClass has proven to be very stable and powerful. Most often I found a way to implement unusual queries in DBIC and there’s always a workaround possible by using custom #SQL if you give up.
For me the main benefit of using a powerful ORM like DBIC is that you can reuse DB code in OOP fashion. Our Coocook::Schema::Result[Set]:: namespace has many methods providing tiny bits that can be plugged together like building blocks. Plain SQL quickly becomes very repetitive …
-
@demiguise Well, #DBIxClass has proven to be very stable and powerful. Most often I found a way to implement unusual queries in DBIC and there’s always a workaround possible by using custom #SQL if you give up.
For me the main benefit of using a powerful ORM like DBIC is that you can reuse DB code in OOP fashion. Our Coocook::Schema::Result[Set]:: namespace has many methods providing tiny bits that can be plugged together like building blocks. Plain SQL quickly becomes very repetitive …
-
@demiguise Well, #DBIxClass has proven to be very stable and powerful. Most often I found a way to implement unusual queries in DBIC and there’s always a workaround possible by using custom #SQL if you give up.
For me the main benefit of using a powerful ORM like DBIC is that you can reuse DB code in OOP fashion. Our Coocook::Schema::Result[Set]:: namespace has many methods providing tiny bits that can be plugged together like building blocks. Plain SQL quickly becomes very repetitive …
-
@demiguise Well, #DBIxClass has proven to be very stable and powerful. Most often I found a way to implement unusual queries in DBIC and there’s always a workaround possible by using custom #SQL if you give up.
For me the main benefit of using a powerful ORM like DBIC is that you can reuse DB code in OOP fashion. Our Coocook::Schema::Result[Set]:: namespace has many methods providing tiny bits that can be plugged together like building blocks. Plain SQL quickly becomes very repetitive …
-
@coocook #dbixclass is just insanely cool, I started using it within a small, hobby-fiddling Dancer2 web app.
Is there a chance to hear about your experiences using it? 👀
-
@coocook #dbixclass is just insanely cool, I started using it within a small, hobby-fiddling Dancer2 web app.
Is there a chance to hear about your experiences using it? 👀
-
At lot has changed in the last 10 years but Coocook always has been a web application based on #Perl with #CatalystFramework and #DBIxClass. These frameworks didn’t move fast but proved to be rock solid! 💪
In the meantime we integrated other components like #Bootstrap and infrastructure like #GitLab with CI and #Docker for easier development (soon: also deployment). Fast moving #Javascript libraries have caused many more problems than the mature Perl ecosystem.
-
At lot has changed in the last 10 years but Coocook always has been a web application based on #Perl with #CatalystFramework and #DBIxClass. These frameworks didn’t move fast but proved to be rock solid! 💪
In the meantime we integrated other components like #Bootstrap and infrastructure like #GitLab with CI and #Docker for easier development (soon: also deployment). Fast moving #Javascript libraries have caused many more problems than the mature Perl ecosystem.
-
At lot has changed in the last 10 years but Coocook always has been a web application based on #Perl with #CatalystFramework and #DBIxClass. These frameworks didn’t move fast but proved to be rock solid! 💪
In the meantime we integrated other components like #Bootstrap and infrastructure like #GitLab with CI and #Docker for easier development (soon: also deployment). Fast moving #Javascript libraries have caused many more problems than the mature Perl ecosystem.
-
At lot has changed in the last 10 years but Coocook always has been a web application based on #Perl with #CatalystFramework and #DBIxClass. These frameworks didn’t move fast but proved to be rock solid! 💪
In the meantime we integrated other components like #Bootstrap and infrastructure like #GitLab with CI and #Docker for easier development (soon: also deployment). Fast moving #Javascript libraries have caused many more problems than the mature Perl ecosystem.
-
At lot has changed in the last 10 years but Coocook always has been a web application based on #Perl with #CatalystFramework and #DBIxClass. These frameworks didn’t move fast but proved to be rock solid! 💪
In the meantime we integrated other components like #Bootstrap and infrastructure like #GitLab with CI and #Docker for easier development (soon: also deployment). Fast moving #Javascript libraries have caused many more problems than the mature Perl ecosystem.
-
Is the #DBIxClass mailing list dead? I sent an email but my mail server can’t deliver the email because connections to lists.scsys.co.uk timeout …
https://lists.perl.org/list/dbix-class.html
Unfortunately the Issues tab on GitHub for DBIC is disabled 😔
https://github.com/Perl5/DBIx-Class -
Is the #DBIxClass mailing list dead? I sent an email but my mail server can’t deliver the email because connections to lists.scsys.co.uk timeout …
https://lists.perl.org/list/dbix-class.html
Unfortunately the Issues tab on GitHub for DBIC is disabled 😔
https://github.com/Perl5/DBIx-Class -
Is the #DBIxClass mailing list dead? I sent an email but my mail server can’t deliver the email because connections to lists.scsys.co.uk timeout …
https://lists.perl.org/list/dbix-class.html
Unfortunately the Issues tab on GitHub for DBIC is disabled 😔
https://github.com/Perl5/DBIx-Class -
Is the #DBIxClass mailing list dead? I sent an email but my mail server can’t deliver the email because connections to lists.scsys.co.uk timeout …
https://lists.perl.org/list/dbix-class.html
Unfortunately the Issues tab on GitHub for DBIC is disabled 😔
https://github.com/Perl5/DBIx-Class -
Is the #DBIxClass mailing list dead? I sent an email but my mail server can’t deliver the email because connections to lists.scsys.co.uk timeout …
https://lists.perl.org/list/dbix-class.html
Unfortunately the Issues tab on GitHub for DBIC is disabled 😔
https://github.com/Perl5/DBIx-Class -
@frew I am using your module DBIx::Class::Helper::ResultSet::IgnoreWantarray and just found it doesn’t make many_to_many() accessors ignore wantarray(). If you add such a relationship and call the accessor in list context you get Result objects.
Do you think the module should take of that?
The wantarray is here: https://metacpan.org/release/RIBASUSHI/DBIx-Class-0.082843/source/lib/DBIx/Class/Relationship/ManyToMany.pm#L77
I think the *$meth_name should be replaced by the *$rs_meth_name built by that code. 🤔
-
@frew I am using your module DBIx::Class::Helper::ResultSet::IgnoreWantarray and just found it doesn’t make many_to_many() accessors ignore wantarray(). If you add such a relationship and call the accessor in list context you get Result objects.
Do you think the module should take of that?
The wantarray is here: https://metacpan.org/release/RIBASUSHI/DBIx-Class-0.082843/source/lib/DBIx/Class/Relationship/ManyToMany.pm#L77
I think the *$meth_name should be replaced by the *$rs_meth_name built by that code. 🤔
-
@frew I am using your module DBIx::Class::Helper::ResultSet::IgnoreWantarray and just found it doesn’t make many_to_many() accessors ignore wantarray(). If you add such a relationship and call the accessor in list context you get Result objects.
Do you think the module should take of that?
The wantarray is here: https://metacpan.org/release/RIBASUSHI/DBIx-Class-0.082843/source/lib/DBIx/Class/Relationship/ManyToMany.pm#L77
I think the *$meth_name should be replaced by the *$rs_meth_name built by that code. 🤔
-
@frew I am using your module DBIx::Class::Helper::ResultSet::IgnoreWantarray and just found it doesn’t make many_to_many() accessors ignore wantarray(). If you add such a relationship and call the accessor in list context you get Result objects.
Do you think the module should take of that?
The wantarray is here: https://metacpan.org/release/RIBASUSHI/DBIx-Class-0.082843/source/lib/DBIx/Class/Relationship/ManyToMany.pm#L77
I think the *$meth_name should be replaced by the *$rs_meth_name built by that code. 🤔
-
@frew I am using your module DBIx::Class::Helper::ResultSet::IgnoreWantarray and just found it doesn’t make many_to_many() accessors ignore wantarray(). If you add such a relationship and call the accessor in list context you get Result objects.
Do you think the module should take of that?
The wantarray is here: https://metacpan.org/release/RIBASUSHI/DBIx-Class-0.082843/source/lib/DBIx/Class/Relationship/ManyToMany.pm#L77
I think the *$meth_name should be replaced by the *$rs_meth_name built by that code. 🤔
-
@mjgardner Main developer answering here:
Backend https://metacpan.org/pod/DBIx::Class::DeploymentHandler with UI https://metacpan.org/pod/App::DH
Entry point in our codebase:
https://gitlab.com/coocook/coocook/-/blob/master/lib/Coocook/Script/Deploy.pm?ref_type=headsIt supports both SQL files and arbitrary script files. For example the 8→9 upgrade adds a column and converts a string for that column in #Perl:
https://gitlab.com/coocook/coocook/-/tree/master/share/ddl/SQLite/upgrade/8-9?ref_type=headsI gave an introductory talk about this at the German Perl & Raku Workshop #GPW2018. YouTube English subtitles seem to be ok:
https://www.youtube.com/watch?v=iWmVlDXsKFU (13min)
#dbixclass -
@mjgardner Main developer answering here:
Backend https://metacpan.org/pod/DBIx::Class::DeploymentHandler with UI https://metacpan.org/pod/App::DH
Entry point in our codebase:
https://gitlab.com/coocook/coocook/-/blob/master/lib/Coocook/Script/Deploy.pm?ref_type=headsIt supports both SQL files and arbitrary script files. For example the 8→9 upgrade adds a column and converts a string for that column in #Perl:
https://gitlab.com/coocook/coocook/-/tree/master/share/ddl/SQLite/upgrade/8-9?ref_type=headsI gave an introductory talk about this at the German Perl & Raku Workshop #GPW2018. YouTube English subtitles seem to be ok:
https://www.youtube.com/watch?v=iWmVlDXsKFU (13min)
#dbixclass -
@mjgardner Main developer answering here:
Backend https://metacpan.org/pod/DBIx::Class::DeploymentHandler with UI https://metacpan.org/pod/App::DH
Entry point in our codebase:
https://gitlab.com/coocook/coocook/-/blob/master/lib/Coocook/Script/Deploy.pm?ref_type=headsIt supports both SQL files and arbitrary script files. For example the 8→9 upgrade adds a column and converts a string for that column in #Perl:
https://gitlab.com/coocook/coocook/-/tree/master/share/ddl/SQLite/upgrade/8-9?ref_type=headsI gave an introductory talk about this at the German Perl & Raku Workshop #GPW2018. YouTube English subtitles seem to be ok:
https://www.youtube.com/watch?v=iWmVlDXsKFU (13min)
#dbixclass -
@mjgardner Main developer answering here:
Backend https://metacpan.org/pod/DBIx::Class::DeploymentHandler with UI https://metacpan.org/pod/App::DH
Entry point in our codebase:
https://gitlab.com/coocook/coocook/-/blob/master/lib/Coocook/Script/Deploy.pm?ref_type=headsIt supports both SQL files and arbitrary script files. For example the 8→9 upgrade adds a column and converts a string for that column in #Perl:
https://gitlab.com/coocook/coocook/-/tree/master/share/ddl/SQLite/upgrade/8-9?ref_type=headsI gave an introductory talk about this at the German Perl & Raku Workshop #GPW2018. YouTube English subtitles seem to be ok:
https://www.youtube.com/watch?v=iWmVlDXsKFU (13min)
#dbixclass