TypedField-complete-guide

Document TypedField methods, parameter binding, and SQL constants in Army Criteria API.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a comprehensive guide to using the TypedField interface in Army Criteria API, offering a detailed reference for method usage, parameter binding, and SQL special constants.

Core Features & Use Cases

  • Method Reference: Offers a full list of methods and their use cases for working with TypedField.
  • SQL Special Constants: Explains the use of SQLs.NULL, DEFAULT, TRUE/FALSE, and ASTERISK constants.
  • Examples: Provides real-world examples of how to apply TypedField methods in different scenarios.
  • Use Case: For developers looking to implement complex queries and validations using Army Criteria API, this guide serves as a go-to resource for understanding TypedField's capabilities.

Quick Start

Use the TypedField-complete-guide skill to learn about the 'equal', 'less', and 'like' methods in the TypedField interface.

Frequently Asked Questions about TypedField-complete-guide

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

FAQPage Schema
How do I use TypedField methods for SQL field manipulation in Army Criteria API?

TypedField methods in Army Criteria API enable precise SQL field manipulation by providing operations like 'equal', 'less', and 'like' for implementing complex queries. The guide offers detailed method references and real-world examples.

What are the SQL special constants supported in Army Criteria API?

Army Criteria API supports SQL special constants including SQLs.NULL, DEFAULT, TRUE/FALSE, and ASTERISK. These constants allow developers to handle specific SQL scenarios and parameter binding within TypedField operations.

How does parameter binding work with the TypedField interface?

Parameter binding in the TypedField interface connects method references to SQL field manipulation operations, ensuring type-safe query construction. The guide explains how to bind parameters using methods like 'equal' and 'like'.

When do I need to use SQLs.NULL or DEFAULT constants in Army Criteria queries?

SQLs.NULL and DEFAULT constants are needed in Army Criteria queries when implementing complex validations that require explicit SQL special constants. The guide explains their use cases within TypedField method operations.

Can I implement complex query validations using TypedField method references?

Yes, TypedField method references support complex query validations in Army Criteria API. Developers can use methods like 'equal', 'less', and 'like' along with SQL special constants to build precise field manipulation logic.