MediaWiki master
IWriteQueryBuilder.php
Go to the documentation of this file.
1<?php
2
3namespace Wikimedia\Rdbms;
4
19 public function connection( IDatabase $db );
20
37 public function queryInfo( $info );
38
50 public function getQueryInfo();
51
55 public function execute(): void;
56
64 public function caller( $fname );
65}
Interface to a relational database.
Definition IDatabase.php:31
Shared interface of all write query builders.
connection(IDatabase $db)
Change the IDatabase object the query builder is bound to.
execute()
Run the constructed query.
queryInfo( $info)
Set the query parameters to the given values, appending to the values which were already set.
caller( $fname)
Set the method name to be included in an SQL comment.
getQueryInfo()
Get an associative array describing the query in terms of its raw parameters to the counter-part meth...