army-sql-param

Create secure SQL parameter expressions for the Army framework.

Updated Mar 3, 2026
One-click install
npx skills add https://github.com/PillArmy/army --skill army-sql-param
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: army-sql-param
Source: https://github.com/PillArmy/army/tree/main/.trae/skills/army-sql-param
Command: npx skills add https://github.com/PillArmy/army --skill army-sql-param

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill simplifies the process of building secure SQL parameters within the Army framework, mitigating the risk of SQL injection attacks.

Core Features & Use Cases

  • SQL Parameter Construction: Provides methods for creating secure SQL parameter expressions.
  • Predefined Methods: Offers parameter methods like parameter(), param(), namedParam(), rowParam(), and namedRowParam() to handle different types of SQL query parameters.
  • Use Case: Imagine you are working with a complex SQL query that requires multiple parameters. Use this Skill to define and integrate these parameters safely.

Quick Start

Utilize the 'army-sql-param' skill to build a SQL parameter for the user's age using 'param()'.

Frequently Asked Questions about army-sql-param

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent SQL injection when building queries in the Army framework?

To prevent SQL injection in the Army framework, use secure SQL parameter expressions. This Skill provides parameter methods like param() and namedParam() to construct queries safely.

What is the difference between parameter methods like param() and namedParam() for SQL queries?

The difference lies in their query construction approach. parameter() and param() create standard SQL parameters, while namedParam() and namedRowParam() generate named parameters for complex Army framework queries.

Can I use Java object types when creating secure SQL parameters?

Yes, you can use Java object types when creating secure SQL parameters. The Army framework parameter construction supports Java object types for query integration.

How to integrate multiple SQL parameters into a complex Army framework query?

To integrate multiple SQL parameters, use the predefined methods like rowParam() or param(). These methods allow you to define and safely integrate several parameters into your Army framework query.

When do I need to use namedRowParam() instead of standard parameter methods?

Use namedRowParam() when your SQL query requires named row parameters. It differs from standard parameter methods by supporting named structures for complex row data integration in the Army framework.