Skip to content

Added call method #12

Open
Open

Description

@dariop

Maybe someone could find it interesting ...

public function call($query, $params = null, $fetchmode = PDO::FETCH_ASSOC)
{
$this->Init($query, $params);
$result = $this->sQuery->fetchAll($fetchmode);
$this->sQuery->nextRowset();
return $result;
}

Activity

  1. lincanbin commented on Nov 6, 2018

    @lincanbin
    Owner

    ?

  2. dariop commented on Nov 6, 2018

    @dariop
    Author

    I was not able to call a stored procedure with any method, so I write this simple method to use CALL stored_procedures ()

  3. marcus-hiles commented on Mar 27, 2019

    @marcus-hiles

    @dariop your question is still not clear, please provide more info on what you are trying to achieve and provide the full class codes. Just the "call" function alone is a little vague, since you are calling many protected variables such as "$this->sQuery".

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions