Key | Value |
---|---|
FileName | ./usr/share/doc/packages/perl-Mojo-SQLite/examples/blog/templates/layouts/blog.html.ep |
FileSize | 468 |
MD5 | EC2145ECFF9D0E33970A835459CA2768 |
SHA-1 | 5F14A95F8070E7178CE7BC569B196E496DC57F73 |
SHA-256 | 042B035981AD25DF353D1FC07F36739C53224707B86389FED9D11E56308BA536 |
SSDEEP | 12:hYeby8G20KsNnPTmdFHxdQM7Z3wlwyJGyB3zfJGAEdOdFPrQL:hYebymemHHxP7ZgCAGyB3zJXEc8 |
TLSH | T113F05C15A0720246B21361402E66398467E3921781CB8C46FEDE5774CFCD2645DEB7E8 |
hashlookup:parent-total | 75 |
hashlookup:trust | 100 |
The searched file hash is included in 75 parent files which include package known and seen by metalookup. A sample is included below:
Key | Value |
---|---|
FileSize | 47292 |
MD5 | 72D006904784869E0B1284C03E6DFE71 |
PackageDescription | module to make PostgreSQL fun to use with Mojolicious Mojo::Pg is a wrapper around DBD::Pg that makes PostgreSQL a lot of fun to use with the Mojolicious real-time web framework. . Features of note include URL-based database connections, automatic transaction rollback support, database migrations written in plain SQL, and asynchronous triggers. . Support for Mojo::Pg is present in the Minion job queue for Mojolicious. |
PackageMaintainer | Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org> |
PackageName | libmojo-pg-perl |
PackageSection | perl |
PackageVersion | 4.26-1 |
SHA-1 | 039D8167781EFFCDF9F6ECCEA25EC47F8939EB32 |
SHA-256 | 4C0FE9BE3CEA208333579908DE7EF5CC6C4D9E986E5814D42D8AE28B981A256E |
Key | Value |
---|---|
MD5 | BD50790D76F6AD64056CBD0C19A90977 |
PackageArch | noarch |
PackageDescription | Mojo::SQLite is a tiny wrapper around DBD::SQLite that makes at https://www.sqlite.org/ a lot of fun to use with the at https://mojolico.us real-time web framework. Use all at http://sqlite.org/lang.html SQLite has to offer, generate CRUD queries from data structures, and manage your database schema with migrations. |
PackageName | perl-Mojo-SQLite |
PackageRelease | 25.3 |
PackageVersion | 3.008 |
SHA-1 | 08EFBA9A62466317E220CF7D4F7E36AC60710B47 |
SHA-256 | 5A8208AA9F55B7B64989184FA73302948407D37D54AAD50FAB007948FC92BFD5 |
Key | Value |
---|---|
MD5 | 018FE56BDEF5AF759F4F1697905950BE |
PackageArch | noarch |
PackageDescription | Mojo::Pg is a tiny wrapper around DBD::Pg that makes at http://www.postgresql.org a lot of fun to use with the at https://mojolicious.org real-time web framework. Perform queries blocking and non-blocking, use all at https://www.postgresql.org/docs/current/static/sql.html PostgreSQL has to offer, generate CRUD queries from data structures, manage your database schema with migrations and build scalable real-time web applications with the publish/subscribe pattern. |
PackageName | perl-Mojo-Pg |
PackageRelease | lp152.2.1 |
PackageVersion | 4.26 |
SHA-1 | 0A574DF798689A19E535C476CA5D50B9DB2AF99D |
SHA-256 | A9D53C91A4057E0C1278A7A4812016AC4E6A39E2A356E48C106CF6F5F8E8000D |
Key | Value |
---|---|
MD5 | 162732DA2A3D20D619B3920F568315D2 |
PackageArch | noarch |
PackageDescription | Mojo::SQLite is a tiny wrapper around DBD::SQLite that makes at https://www.sqlite.org/ a lot of fun to use with the at https://mojolico.us real-time web framework. Use all at http://sqlite.org/lang.html SQLite has to offer, generate CRUD queries from data structures, and manage your database schema with migrations. Database and statement 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::SQLite; helper sqlite => sub { state $sql = Mojo::SQLite->new('sqlite:test.db') }; get '/' => sub { my $c = shift; my $db = $c->sqlite->db; $c->render(json => $db->query('select datetime("now","localtime") as now')->hash); }; app->start; In this example application, we create a 'sqlite' helper to store a Mojo::SQLite object. Our action calls that helper and uses the method Mojo::SQLite/"db" to dequeue a Mojo::SQLite::Database object from the connection pool. Then we use the method Mojo::SQLite::Database/"query" to execute an at http://www.postgresql.org/docs/current/static/sql.html statement, which returns a Mojo::SQLite::Results object. And finally we call the method Mojo::SQLite::Results/"hash" to retrieve the first row as a hash reference. All I/O and queries are performed synchronously. However, the "Write-Ahead Log" journal is enabled for all connections, allowing multiple processes to read and write concurrently to the same database file (but only one can write at a time). You can prevent this mode from being enabled by passing the option 'no_wal', but note that this is incompatible with SQLite databases that have already had WAL mode enabled. See http://sqlite.org/wal.html and DBD::SQLite/"journal_mode" for more information. my $pid = fork || die $!; say $sql->db->query('select datetime("now","localtime") as time')->hash->{time}; exit unless $pid; All cached database handles will be reset automatically if a new process has been forked, this allows multiple processes to share the same Mojo::SQLite object safely. Any database errors will throw an exception as 'RaiseError' is automatically enabled, so use 'eval' or Try::Tiny to catch them. This makes transactions with Mojo::SQLite::Database/"begin" easy. While passing a file path of ':memory:' (or a custom "dsn" with 'mode=memory') will create a temporary database, in-memory databases cannot be shared between connections, so subsequent calls to "db" may return connections to completely different databases. For a temporary database that can be shared between connections and processes, pass a file path of ':temp:' to store the database in a temporary directory (this is the default), or consider constructing a temporary directory yourself with File::Temp if you need to reuse the filename. A temporary directory allows SQLite to create at https://www.sqlite.org/tempfiles.html safely. use File::Spec::Functions 'catfile'; use File::Temp; use Mojo::SQLite; my $tempdir = File::Temp->newdir; # Deleted when object goes out of scope my $tempfile = catfile $tempdir, 'test.db'; my $sql = Mojo::SQLite->new->from_filename($tempfile); |
PackageMaintainer | https://bugs.opensuse.org |
PackageName | perl-Mojo-SQLite |
PackageRelease | lp151.2.1 |
PackageVersion | 3.000 |
SHA-1 | 0C34E99FA073D337605CB10F35B7A7852087D9EB |
SHA-256 | 05124A6A414027BBDF64CA9FB31377C22ED52F2354C83000ECB8C97E26BEAFCF |
Key | Value |
---|---|
MD5 | F7504CD54FFFD45B0C564FA83E3B84AE |
PackageArch | noarch |
PackageDescription | Mojo::Pg is a tiny wrapper around DBD::Pg that makes at http://www.postgresql.org a lot of fun to use with the at https://mojolicious.org real-time web framework. Perform queries blocking and non-blocking, use all at https://www.postgresql.org/docs/current/static/sql.html PostgreSQL has to offer, generate CRUD queries from data structures, manage your database schema with migrations and build scalable real-time web applications with the publish/subscribe pattern. |
PackageName | perl-Mojo-Pg |
PackageRelease | bp150.2.1 |
PackageVersion | 4.26 |
SHA-1 | 0D5C8615DAD57D69BB1A5F447BA3555977021881 |
SHA-256 | 8A67A38C51466853C6CEDCF9E64CECF298EF27C104DDD4EC81DA61724947FC77 |
Key | Value |
---|---|
FileSize | 50396 |
MD5 | 2859BE8AC3E7D83F79E35750FDE2CFE8 |
PackageDescription | tiny Mojolicious wrapper for SQLite Mojo::SQLite is a tiny wrapper around DBD::SQLite that makes SQLite a lot of fun to use with the Mojolicious real-time web framework. Use all SQL features SQLite has to offer, generate CRUD queries from data structures, and manage your database schema with migrations. |
PackageMaintainer | Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org> |
PackageName | libmojo-sqlite-perl |
PackageSection | perl |
PackageVersion | 3.007-1 |
SHA-1 | 0E44CFC133F868C924C6954BDB94624245AF6235 |
SHA-256 | 158D3B37D4AA4343E821C34CF196622129B94668FFE7B084771B3F89921C0B94 |
Key | Value |
---|---|
MD5 | 32834F2E86A9D1D67FAF094C36367594 |
PackageArch | noarch |
PackageDescription | Mojo::Pg is a tiny wrapper around DBD::Pg that makes at http://www.postgresql.org a lot of fun to use with the at https://mojolicious.org real-time web framework. Perform queries blocking and non-blocking, use all at https://www.postgresql.org/docs/current/static/sql.html PostgreSQL has to offer, generate CRUD queries from data structures, manage your database schema with migrations and build scalable real-time web applications with the publish/subscribe pattern. |
PackageName | perl-Mojo-Pg |
PackageRelease | bp152.2.1 |
PackageVersion | 4.26 |
SHA-1 | 0E8150D4697E2B10E002E928DCFAEE83B9147676 |
SHA-256 | EB321F29DFB1B810D1C71E8DBEE4FA9CDCDD9FB5947A44C352A647C11335C40B |
Key | Value |
---|---|
MD5 | 3E42F631EE64C4E50BD5536C14FD3E33 |
PackageArch | noarch |
PackageDescription | Mojo::Pg is a tiny wrapper around DBD::Pg that makes at http://www.postgresql.org a lot of fun to use with the at https://mojolicious.org real-time web framework. Perform queries blocking and non-blocking, use all at https://www.postgresql.org/docs/current/static/sql.html PostgreSQL has to offer, generate CRUD queries from data structures, manage your database schema with migrations and build scalable real-time web applications with the publish/subscribe pattern. |
PackageName | perl-Mojo-Pg |
PackageRelease | 1.1 |
PackageVersion | 4.25 |
SHA-1 | 149D5065AFA24BB3F3248788FD4191D601B4267E |
SHA-256 | ABA220C90E650C5C256CD1D633590E77E9E89A08FFCB30CEC26C7178604341C6 |
Key | Value |
---|---|
FileSize | 47932 |
MD5 | 103E758D6FEB21D06BEDED5F9E301D12 |
PackageDescription | module to make PostgreSQL fun to use with Mojolicious Mojo::Pg is a wrapper around DBD::Pg that makes PostgreSQL a lot of fun to use with the Mojolicious real-time web framework. . Features of note include URL-based database connections, automatic transaction rollback support, database migrations written in plain SQL, and asynchronous triggers. . Support for Mojo::Pg is present in the Minion job queue for Mojolicious. |
PackageMaintainer | Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> |
PackageName | libmojo-pg-perl |
PackageSection | perl |
PackageVersion | 4.19-1 |
SHA-1 | 1930D5C9D26BEA50637A34E870587A96077878BC |
SHA-256 | 6E50785E37A44CFDADD2C2AA0516D57C8825C11911A7D23EAF494FF3A872604D |
Key | Value |
---|---|
MD5 | FBC674CB4A285C3B3B35DBFC0C95571B |
PackageArch | noarch |
PackageDescription | Mojo::Pg is a tiny wrapper around DBD::Pg that makes at http://www.postgresql.org a lot of fun to use with the at https://mojolicious.org real-time web framework. Perform queries blocking and non-blocking, use all at https://www.postgresql.org/docs/current/static/sql.html PostgreSQL has to offer, generate CRUD queries from data structures, manage your database schema with migrations and build scalable real-time web applications with the publish/subscribe pattern. |
PackageName | perl-Mojo-Pg |
PackageRelease | lp151.61.2 |
PackageVersion | 4.26 |
SHA-1 | 19FC3062B837BCE14C5309FEEADEBDFB84D99244 |
SHA-256 | 364D282CBB8B921E69A8AAFF25B3F887EC901BBE159A0C7D336B09A94EE24518 |