Database Operations
Connect to SQL databases with PDO or MySQLi, build queries, and manage schemas, migrations, seed data, and exports.
Table of Contents
- Backup and Export Module for Databases
Database manager class allows you to create a backup of your database and tables, and export them as a CSV or JSON format.
- Opening Database Connection
PDO and MySQLi database connections in Luminova, with connection pooling, sharding, and automatic failover.
- Structured Migration Workflow for Database Management
Luminova database migration is a process that allows you to manage your database schema changes in a structured and version-controlled way.
- Database Schema Operations
Create, modify, rename, and drop database migration tables with the Schema class.
- Database Seeding and Migration Tracking
Database Version Control is an essential tool for managing and cleaning up lock files and old migration or seeder files. By using `db:clear` command, you can ensure a tidy development environment.
- MySQLi Database Driver
Luminova’s MySQLi driver for MySQL connections, query execution, transactions, and native MySQLi access.
- Native PDO and MySQli Database Driver Connection
Luminova’s database connection wrapper for accessing and managing native PDO or MySQLi connections.
- PDO Database Driver
Luminova’s PDO driver for database connections, query execution, transactions, and native PDO access.
- ORM Database Query Builder
Database Builder provides an ORM and query builder that simplifies CRUD operations and allows you to interact with the database using an object-oriented API instead of writing raw SQL.
- Database Model
Initializes database connections with built-in support for efficient data handling, connection pooling, sharding, and automatic fallback to backup servers.
- Automated Database Seeding and Execution
Luminova simplifies database management with the novakit command and its associated methods. This ensures an easy process for executing seeders and convenient table truncation.
- Table Schema Definitions and Design Guidelines
Luminova’s schema builder for defining, creating, and modifying database tables.