- REQUIRED METHODS
- SEE ALSO
- COPYRIGHT AND LICENSE
Yancy::Backend::Role::MojoAsync - A role to give a relational backend relational capabilities
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.
Doug Bell <firstname.lastname@example.org>
This software is copyright (c) 2021 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.