Skip to content

Lightweight Query Builder #10

Description

@CodeMaverick-143

Writing raw SQL is error-prone, but full ORMs (like TypeORM) are too heavy for this framework.

Technical Implementation:

  • Create a fluent API for constructing SQL queries (e.g., db.select('*').from('users').where('id', 1)).
  • Support parameter binding to prevent SQL injection.
  • Adapters for pg, mysql2, and better-sqlite3.

Acceptance Criteria:

  • A query built with the builder executes safely against a SQLite database.
  • SQL injection attempts via input parameters are neutralized.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions