ORM
  • Introduction
  • Basics of Usage
    • Connecting to the Database
    • Creating a Model
    • Simple Queries
  • Configuration
  • Core Features
    • Models
    • CRUD Operations (Create, Read, Update, Delete): examples
    • Relationships
    • Transactions
  • Advanced Usage
    • Data Definition Language
    • Indexes
    • Triggers
    • Caching
  • Examples and templates
  • Security
    • Query parameterization and protection against SQL injections
    • Logging
    • Monitoring
    • Sanitization
  • ORM-CLI
    • Installing
    • Commands and usage
  • System architecture and implementation
    • Support of various databases
      • Implementation using a pattern strategy
      • Implementation using generics
      • Implementation using metaprogramming
    • Decorators
    • Migrations
      • Assignment of id in Tables and Columns
      • Assigning IDs to indexes and triggers
      • Working with migrations in ORM-CLI
        • Implementation of a pattern command for migration
    • QueryBuilder
    • Caching
    • File structure
  • API
    • Decorators
      • Column
      • ComputedColumn
      • Index
      • ForeignKey
      • PrimaryGeneratedColumn
      • Relations
      • Table
      • Trigger
      • Types decorators
        • Integer
        • Numeric
        • Float
        • Boolean
        • String
    • DDL
    • QueryBuilder
    • Additional API
Powered by GitBook
On this page

Advanced Usage

Далі будуть приклади розширеного користування моєю ORM

In this chapter, we'll look at the Data Definition Language (DDL) operations in my ORM system that allow us to effectively manage the structure of our databases by enabling the execution, generation, and application of SQL queries to make changes. Data indexing, which improves search performance and optimizes large data sets, will also be considered. Then there will be triggers that automate the execution of certain actions when events occur in the database, increasing the level of control and security. And at the end, there will be query caching, which reduces the load on the database and speeds up the execution of frequent queries, which positively affects the overall performance of the system.

PreviousTransactionsNextData Definition Language

Last updated 9 months ago