Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if ($query instanceof DatabaseStatementInterface) {
- $stmt = $query;
- $stmt->execute(NULL, $options);
- }
- else if (is_string($query)) {
- $this->expandArguments($query, $args);
- $stmt = $this->prepareQuery($query);
- $stmt->execute($args, $options);
- }
- else {
- throw new DbtngIdiotException('You are an idiot.');
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement