{"added":null,"apiVersion":1,"behindSince":null,"buildDepends":[],"categories":["databases","perl5"],"comment":"Safely generate and compose SQL statements","compare":null,"dependentCount":null,"description":"Mojo::SQL safely generates and composes SQL statements. To prevent SQL injection\nattacks, every ? in the input becomes a placeholder in the generated query, with\nthe corresponding value bound to it. Partial statements can be composed\nrecursively to build more complex queries.\n\nLiteral question marks can be escaped with ??.\n\nMake partial statements optional to dynamically generate WHERE clauses.\n\nIf you need a little more control over the generated SQL query, you can also\nbypass safety features with \"sql_unsafe\". But make sure to handle unsafe values\nyourself with appropriate escaping functions for your database. For PostgreSQL\nthere are \"escape_literal\" and \"escape_identifier\" functions included with this\nmodule.\n\nFor databases that do not support numbered placeholders like $1 and $2, you can\nset a custom character with the placeholder option.","flavors":[],"html":"https://daemonports.org/dragonfly/databases/p5-Mojo-SQL/","kind":"port","lastUpdate":null,"license":["MIT"],"licenses":["MIT"],"maintainer":"sunpoet@FreeBSD.org","name":"p5-Mojo-SQL","newest":true,"newestVersion":"0.02","noVulnData":false,"origin":"databases/p5-Mojo-SQL","otherSystems":[{"maintainer":"sunpoet@FreeBSD.org","newest":true,"origin":"databases/p5-Mojo-SQL","path":"/databases/p5-Mojo-SQL/","system":"FreeBSD","version":"0.02"},{"maintainer":"sunpoet@FreeBSD.org","newest":true,"noVulnData":true,"origin":"databases/p5-Mojo-SQL","path":"","system":"HardenedBSD","version":"0.02"},{"maintainer":"sunpoet@FreeBSD.org","newest":true,"noVulnData":true,"origin":"databases/p5-Mojo-SQL","path":"","system":"GhostBSD","version":"0.02"}],"packages":null,"pkgName":"p5-Mojo-SQL-0.02","related":null,"repository":"DPorts","requiredBy":["databases/p5-Mojo-Pg"],"requiredByCount":1,"runDepends":["lang/perl5.42","www/p5-Mojolicious"],"status":null,"system":"dragonfly","systemLabel":"DragonFly","version":"0.02","versions":[{"date":"2026-11-11","version":"0.02"}],"vulnerabilities":null,"www":"https://metacpan.org/dist/Mojo-SQL"}
