Skip to content

START TRANSACTION - COMMIT #41

@yansentan

Description

@yansentan

How do I use START TRANSACTION - COMMIT?

I received this error when using rawQuery function

  • Problem preparing query (START TRANSACTION) This command is not supported in the prepared statement protocol yet

Here is the query :
$db->rawQuery("START TRANSACTION");
$db->rawQuery("INSERT INTO......");
$db->rawQuery("UPDATE tablet SET coloumn = 'value'");
$db->rawQuery("COMMIT");

Thank you~

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions