Skip to content

MYSQL : orderBy() considers CASE statement as a column #1528

Description

@TatwiraT

name: Bug report
orderBy() method considers the CASE statement as DB column

Describe the bug
A clear and concise description of what the bug is.
the orderBy() method considers the CASE ** END statement as DB column , hence it quotes it with magic quotes.

CodeIgniter 4 version
CI4 Alpha 2 : commit 2047b5a

Affected module(s)
DB : MySQL DRIVER

Context

  • OS: Arch Linux
  • Web server : Apache 3.4
  • PHP version : 7.2.9

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    databaseIssues or pull requests that affect the database layer

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions