Key | Value |
---|---|
FileName | ./usr/share/perl5/vendor_perl/Mojo/mysql/Transaction.pm |
FileSize | 1284 |
MD5 | B82F650EC3E579100A2D9BF597AB8179 |
SHA-1 | 68280F3388207D8CAB0BE3091C9B372F46C883C5 |
SHA-256 | CA7C9D14F9B75AA6B8018DBE2D87EB7A07DC30E9F5886A834826B3A098CFCB7D |
SSDEEP | 24:jiWhLm79AzxgVg8liTjn9iLhriyzTaiIfimOUjUiJZfEO22iNLZIHjzTaiJi8R:jiWI7qNgVg8lmb9iLhriyHaiIficUiJB |
TLSH | T16E21370274527AE991AEE4394ED294C771EFF4585D2C1AF03866CA1A0FE25BDB32341A |
hashlookup:parent-total | 2 |
hashlookup:trust | 60 |
The searched file hash is included in 2 parent files which include package known and seen by metalookup. A sample is included below:
Key | Value |
---|---|
MD5 | 52ADA0107D76C8697E906D0C058A24F3 |
PackageArch | noarch |
PackageDescription | the Mojo::mysql manpage is a tiny wrapper around the DBD::mysql manpage and the DBD::MariaDB manpage that makes http://www.mysql.org and https://mariadb.org/ a lot of fun to use with the http://mojolicio.us real-time web framework. The two DBD drivers are compatible with both MySQL and MariaDB, but they offer different the /options manpage. the DBD::MariaDB manpage should have better unicode support though and might become the default in the future. Database and handles are cached automatically, so they can be reused transparently to increase performance. And you can handle connection timeouts gracefully by holding on to them only for short amounts of time. |
PackageMaintainer | umeabot <umeabot> |
PackageName | perl-Mojo-mysql |
PackageRelease | 2.mga9 |
PackageVersion | 1.250.0 |
SHA-1 | 89BE9F9FFD8787283808E912B939AC39EB45E792 |
SHA-256 | BB758D4594458D9EE4B32161F7C27E28F9645162EFB52E82BC9C4FF229F6169C |
Key | Value |
---|---|
MD5 | 18526F1B893AFAF01BCD0231F577CCCF |
PackageArch | noarch |
PackageDescription | Mojo::mysql is a tiny wrapper around DBD::mysql and DBD::MariaDB that makes at http://www.mysql.org and at https://mariadb.org/ a lot of fun to use with the at http://mojolicio.us real-time web framework. The two DBD drivers are compatible with both MySQL and MariaDB, but they offer different options. DBD::MariaDB should have better unicode support though and might become the default in the future. Database and handles are cached automatically, so they can be reused transparently to increase performance. And you can handle connection timeouts gracefully by holding on to them only for short amounts of time. use Mojolicious::Lite; use Mojo::mysql; helper mysql => sub { state $mysql = Mojo::mysql->strict_mode('mysql://sri:s3cret@localhost/db') }; get '/' => sub { my $c = shift; my $db = $c->mysql->db; $c->render(json => $db->query('select now() as time')->hash); }; app->start; While all I/O operations are performed blocking, you can wait for long running queries asynchronously, allowing the Mojo::IOLoop event loop to perform other tasks in the meantime. Since database connections usually have a very low latency, this often results in very good performance. Every database connection can only handle one active query at a time, this includes asynchronous ones. So if you start more than one, they will be put on a waiting list and performed sequentially. To perform multiple queries concurrently, you have to use multiple connections. my $db = $mysql->db; $db->query('select sleep(5)' => sub {...}); $db->query('select sleep(5)' => sub {...}); $mysql->db->query('select sleep(5)' => sub {...}); $mysql->db->query('select sleep(5)' => sub {...}); All cached database handles will be reset automatically if a new process has been forked, this allows multiple processes to share the same Mojo::mysql object safely. |
PackageName | perl-Mojo-mysql |
PackageRelease | 1.2 |
PackageVersion | 1.25 |
SHA-1 | C4E9A26872AE0BACD632F57C4766C19D54D379FB |
SHA-256 | CD4C3F710396FCADA6A28B269965D6272E09D6379D6B218F755FB7FE051AB6D2 |