feat(v1.4.1): add native proposal module, Lover Accept Checker AI, and modules documentation catalog

This commit is contained in:
Adam Eehan committed 2026-09-11 15:29:00 +05:30
1 parent 4895c201c1
commit b7ae6c9725
20 files changed
+600 -34

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
# 🗄️ AiraLang `sqlite` Module
> **Embedded Relational SQL Database**
## Import
```aira
import "sqlite";
```
## Methods
- `sqlite.open(path)`: Open or create database file.
- `sqlite.execute(db, sql, [params])`: Execute DDL/DML statements (INSERT, UPDATE, DELETE).
- `sqlite.query(db, sql, [params])`: Execute SELECT and return rows as dictionary list.
- `sqlite.close(db)`: Close database connection.
## Example
```aira
import "sqlite";
let db = sqlite.open("test.db");
sqlite.execute(db, "CREATE TABLE IF NOT EXISTS logs (msg TEXT);");
sqlite.execute(db, "INSERT INTO logs VALUES (?);", ["System Booted"]);
let rows = sqlite.query(db, "SELECT * FROM logs;");
say rows;
sqlite.close(db);
```