Yancy::Backend::Role::MojoAsync - A role to give a relational backend relational capabilities
version 1.025
package Yancy::Backend::RDBMS; with 'Yancy::Backend::Role::MojoAsync';
This role provides utility methods to give backend classes, that compose in Yancy::Backend::Role::Relational, implementing asynchronous database-access methods.
It is separate from that role in order to be available only for classes that do not use Yancy::Backend::Role::Sync, avoiding clashes.
The composing class must implement the following methods either as constants or attributes:
The value must be a relative of Mojo::Pg et al.
Implements "delete_p" in Yancy::Backend.
Implements "get_p" in Yancy::Backend.
Implements "list_p" in Yancy::Backend.
Implements "set_p" in Yancy::Backend.
Yancy::Backend
Doug Bell <preaction@cpan.org>
This software is copyright (c) 2018 by Doug Bell.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Yancy, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Yancy
CPAN shell
perl -MCPAN -e shell install Yancy
For more information on module installation, please visit the detailed CPAN module installation guide.