Database Manager
FreePremium
Manage local and remote databases with support for 8 different engines, including native PostgreSQL that requires no external server.
Supported engines
| Engine | Free | Premium |
|---|---|---|
| SQLite (local) | β | β |
| Firestore (Google) | β | β |
| Native PostgreSQL | β | β |
| MySQL / MariaDB | β | β |
| MongoDB | β | β |
| Redis | β | β |
| Supabase | β | β |
| PlanetScale | β | β |
Native PostgreSQLPremium
Pocket Code includes a native PostgreSQL engine that runs directly on the device. No external server or internet connection needed.
psql β Native PostgreSQL on device
-- Crear base de datos local
CREATE DATABASE myapp;
-- Crear tabla
CREATE TABLE users (
id SERIAL PRIMARY KEY,
email TEXT UNIQUE NOT NULL,
created_at TIMESTAMPTZ DEFAULT NOW()
);
-- Insertar datos
INSERT INTO users (email) VALUES ('dev@example.com');
-- Consultar
SELECT * FROM users;Connect remote database
- 1Open the Database module.
- 2Tap "New connection".
- 3Select the engine (PostgreSQL, MySQL, MongoDBβ¦).
- 4Enter host, port, database name, username and password.
- 5Tap Test connection and then Save.
Credentials are stored encrypted on the device using Android Keystore.
Query editor
- β’SQL autocomplete with table and column names
- β’Syntax highlighting for SQL, NoSQL and native query languages
- β’History of executed queries (10 free β Premium: unlimited)
- β’Saved queries (5 free β Premium: unlimited)
- β’Multiple query tabs (2 free β Premium: unlimited)
- β’Paginated table results for large datasets
- β’Export results to CSV or JSON
- β’Explain plan to analyze query performance
Free
AI SQL Assistant (natural language β SQL)
Write your query in natural language and the assistant generates the SQL. Available free with Gemini (requires your API key). With Premium you can use any AI model.
Premium features
| Feature | Free | Premium |
|---|---|---|
| SQLite (local) | β | β |
| Remote connections (Neon, Supabaseβ¦) | 1 | Unlimited |
| Query history | 10 | Unlimited |
| Saved queries | 5 | Unlimited |
| Query tabs | 2 | Unlimited |
| Charts | 2 types | 5 types |
| Customizable dashboard | β | β |
| Scheduled backup | β | β |
| Cloud backup (Drive, Firebase) | β | β |
| Schema diff / migrations | β | β |
Next
Visual Designer