Skip to content

Fatal Error, undefined method #154

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
    $parser = new PHPSQLParser();
    $creator = new PHPSQLCreator();

    $query = "DELETE FROM table_name WHERE column_name = 'column_value'";
    $tree = $parser->parse($query);
    echo $creator->create($tree);

What is the expected output? What do you see instead?
Expected output: "DELETE FROM table_name WHERE column_name = 'column_value'"
error output: "
Fatal error: Call to undefined method DeleteStatementBuilder::build() in 
D:\xampp\htdocs\parser\src\PHPSQLCreator.php on line 83"

What version of the product are you using? On what operating system?
i am using the latest version, bug tested on windows 7 with XAMPP, and ubuntu 7 
with apache & php


Please provide any additional information below.




Original issue reported on code.google.com by jossanto...@gmail.com on 12 Dec 2014 at 12:29

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions