Luminova Framework

Database Operations

Connect to SQL databases with PDO or MySQLi, build queries, and manage schemas, migrations, seed data, and exports.

Table of Contents

  1. 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.

  2. Opening Database Connection

    PDO and MySQLi database connections in Luminova, with connection pooling, sharding, and automatic failover.

  3. 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.

  4. Database Schema Operations

    Create, modify, rename, and drop database migration tables with the Schema class.

  5. 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.

  6. MySQLi Database Driver

    Luminova’s MySQLi driver for MySQL connections, query execution, transactions, and native MySQLi access.

  7. Native PDO and MySQli Database Driver Connection

    Luminova’s database connection wrapper for accessing and managing native PDO or MySQLi connections.

  8. PDO Database Driver

    Luminova’s PDO driver for database connections, query execution, transactions, and native PDO access.

  9. 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.

  10. Database Model

    Initializes database connections with built-in support for efficient data handling, connection pooling, sharding, and automatic fallback to backup servers.

  11. 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.

  12. Table Schema Definitions and Design Guidelines

    Luminova’s schema builder for defining, creating, and modifying database tables.