Skip to content

insertBatch with escape=false still escapes values #1667

Description

@niteraven7

I'm supposed to be able to choose to not escape values so I can insert functions like NOW() instead of 'NOW()'. It appears to NOT be working and escapes values anyhow.

https://codeigniter4.github.io/CodeIgniter4/database/query_builder.html#CodeIgniterDatabaseBaseBuilder::insertBatch

Here's the old discussion thread and fix for version 3:

bcit-ci/CodeIgniter#1895

using: alpha4

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