Skip to content
Matthew Barker edited this page Jul 27, 2026 · 12 revisions

A3SQL — Arma 3 Database Engine

An embeddable SQL database engine for Arma 3 mods. Like SQLite for Arma.

Quick Start

["CREATE TABLE players (uid STRING PRIMARY KEY, name STRING, score INT)"] call a3sql_fnc_execute;
["INSERT INTO players VALUES ('76561198000000001', 'Scarface', 1500)"] call a3sql_fnc_execute;
_result = ["SELECT name, score FROM players WHERE score > 1000 ORDER BY score DESC"] call a3sql_fnc_execute;

Wiki Pages

Status

Component Status
Tests Tests
Lint Lint
Build Build
CI CI
Coverage SQL, JOINs, CTE, window functions, triggers, FK cascade, UPSERT, SQF_EVAL(), 55+ native SQF commands
SQF Eval SQF_EVAL() SQL function evaluates in-line SQF expressions — math, string ops, type checks, full wiki command dispatch, returns NULL for game-engine commands
Security Parameterized queries, TCP LOGIN
Plugins Rust trait, C ABI dynamic, SQF registration

Clone this wiki locally