*/ interface interface_database { /** * shall return the terminal symbol used for indicating auto incrementation for a column * * @return string * @author Christian Fraß */ public function terminal_autoincrement( ) : string ; /** * shall return the definition for a field, which is meant to be an integer typed primary key with auto increment * setting * * @return string * @author Christian Fraß */ public function boilerplate_field_definition_for_integer_primary_key_with_auto_increment( ) : string ; /** * shall send a query to the database * * @param string $template an SQL query string with placeholders of the form ":name" * @param array $arguments record values to insert for the placeholders * @return array { * record< * rows:list>, * id:(null|integer), * affected:integer * > * } * @author Christian Fraß */ public function query( string $template, array $arguments = [] ) : array ; } ?>