These are some traits and classes used to help facilitate the generation of SQL queries according to the postgresql standard.
Because of the volume of work being done, I am committing the very much incomplete and incorrect work.
A number of the files are copy and pasted placeholders until I can get to actually coding it and will contain invalid content until such time I can complete this feature set.
There may be futher restructing.
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides classes for specific Postgesql Queries.
+ *
+ * The objects should return query strings to be processed by the database class.
+ *
+ * The following query parameter placeholders are reserved for use for auto-generation reasons:
+ * - :qp_# such that # is any valid whole number >= 0.
+ *
+ * @todo: a base class is needed for handling all query parameters because SQL functions may be used anywhere!
+ * This will make argument handling more complex than using simple integers, strings, etc..
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-commands.html
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+
+require_once('common/base/interfaces/base_query.php');
+
+/**
+ * The base class for building and returning a Postgresql query string.
+ *
+ * The built query is stored in value.
+ * Strings should not be allowed to be assigned to this class.
+ * Instead, only other c_base_query objects may be assigned to the value.
+ *
+ * @todo: redesign and move all parameter settings to traits.
+ */
+abstract class c_base_query extends c_base_return_string implements i_base_query {
+ public const PARAMETER_NONE = 0;
+
+ protected const pr_QUERY_COMMAND = '';
+
+ protected $placeholders;
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+
+ $this->placeholders = [];
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ unset($this->placeholders);
+
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Assign the value.
+ *
+ * This changes the behavior of the extended class from accepting only strings to accepting only c_base_query.
+ *
+ * @param c_base_query $value
+ * Any value so long as it is a c_base_query.
+ * NULL is not allowed.
+ *
+ * @return bool
+ * TRUE on success, FALSE otherwise.
+ */
+ public function set_value($value) {
+ if (!($value instanceof c_base_query)) {
+ return FALSE;
+ }
+
+ $this->value = clone($value);
+ return TRUE;
+ }
+
+ /**
+ * Add a query parameter placeholder.
+ *
+ * This does not sanitize the placeholder.
+ *
+ * @param string $placeholder
+ * The placeholder string, without the leading ':'.
+ * @param $value
+ * The placeholder value the placeholder represents.
+ * @todo: add placeholder types and validation?
+ *
+ * @return c_base_return_status
+ * TRUE if added, FALSE otherwise.
+ * FALSE with the error bit set is returned on error.
+ */
+ public function add_placeholder($placeholder, $value) {
+ if (!is_string($placeholder)) {
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{argument_name}' => 'placeholder', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_ARGUMENT);
+ return c_base_return_error::s_false($error);
+ }
+
+ if (!is_array($this->placeholders)) {
+ $this->placeholders = [];
+ }
+
+ $this->placeholders[$placeholder] = $value;
+ return new c_base_return_true();
+ }
+
+ /**
+ * Get a query parameter placeholder value.
+ *
+ * @param string $placeholder
+ * Name of the placeholder to return the value of, without the leading ':'.
+ *
+ * @return c_base_return_value|c_base_return_status
+ * The value assigned to the placeholder.
+ * FALSE without the error bit set is returned if placeholder does not exist.
+ * FALSE with the error bit set is returned on error.
+ */
+ public function get_placeholder($placeholder) {
+ if (!is_string($placeholder)) {
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{argument_name}' => 'placeholder', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_ARGUMENT);
+ return c_base_return_error::s_false($error);
+ }
+
+ if (is_array($this->placeholders) && array_key_exists($placeholder, $this->placeholders)) {
+ return c_base_return_value::s_new($this->placeholders[$placeholder]);
+ }
+
+ return new c_base_return_false();
+ }
+
+ /**
+ * Get all query parameter placeholders assigned.
+ *
+ * @return c_base_return_array
+ * An array of all assigned placeholders.
+ * An empty array with the error bit set is returned on error.
+ */
+ public function get_placeholders() {
+ if (is_array($this->placeholders)) {
+ return c_base_return_array::s_new($this->placeholders);
+ }
+
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{variable_name}' => 'query', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_VARIABLE);
+ return c_base_return_error::s_vale([], 'c_base_return_array', $error);
+ }
+
+ /**
+ * Remove a query parameter placeholder and its value.
+ *
+ * @param string $placeholder
+ * Name of the placeholder to remove, without the leading ':'.
+ *
+ * @return c_base_return_status
+ * TRUE if placeholder exists and is removed, FALSE otherwise.
+ * FALSE with the error bit set is returned on error.
+ */
+ public function remove_placeholder($placeholder) {
+ if (is_array($this->placeholders) && array_key_exists($placeholder, $this->placeholders)) {
+ unset($this->placeholders[$placeholder]);
+ return new c_base_return_true();
+ }
+
+ return new c_base_return_false();
+ }
+
+ /**
+ * Remove all query parameter placeholders assigned.
+ *
+ * @return c_base_return_status
+ * TRUE on success, FALSE otherwise.
+ * FALSE with the error bit set is returned on error.
+ */
+ public function remove_placeholders() {
+ $this->placeholders = [];
+ return new c_base_return_true();
+ }
+
+ /**
+ * Get total query parameter placeholders assigned to this class.
+ *
+ * @return c_base_return_int
+ * The total number of placeholders assigned.
+ * 0 with the error bit set is returned on error.
+ */
+ public function count_placeholders() {
+ if (is_array($this->placeholders)) {
+ return c_base_return_int::s_new(count($this->placeholders));
+ }
+
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{variable_name}' => 'query', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_VARIABLE);
+ return c_base_return_error::s_value(0, 'c_bae_return_int', $error);
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = static::pr_QUERY_COMMAND;
+ return new c_base_return_true();
+ }
+
+ /**
+ * Implements do_reset().
+ */
+ public function do_reset() {
+ $this->value = '';
+ $this->placeholders = [];
+ return new c_base_return_true();
+ }
+}
+
+/**
+ * Provide an SQL query argument.
+ *
+ * SQL queries may be passed to other SQL queries, marking them as sub-queries.
+ * This will most commonly be added to other expressions.
+ */
+class c_base_query_argument_query implements i_base_query_argument {
+ protected $query;
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ $this->query = NULL;
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ unset($this->query);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Set the SQL query.
+ *
+ * @param c_base_query|null $query
+ * A fully configured query.
+ * Set to NULL to remove the assigned query.
+ *
+ * @return c_base_return_status
+ * TRUE on success, FALSE otherwise.
+ * FALSE with error bit set is returned on error.
+ */
+ public function set_query($query) {
+ if (is_null($this->query)) {
+ $this->query = NULL;
+ return new c_base_return_true();
+ }
+
+ if ($query instanceof c_base_query) {
+ $this->query = clone($query);
+ return new c_base_return_true();
+ }
+
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{argument_name}' => 'query', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_ARGUMENT);
+ return c_base_return_error::s_false($error);
+ }
+
+ /**
+ * Get the assigned SQL query.
+ *
+ * @return c_base_query|c_base_return_null
+ * A valid c_base_query.
+ * NULL is returned if not assigned.
+ * NULL with the error bit set is returned on error.
+ */
+ public function get_query() {
+ if (is_null($this->query)) {
+ return new c_base_return_null();
+ }
+
+ if ($this->query instanceof c_base_query) {
+ return clone($this->query);
+ }
+
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{variable_name}' => 'query', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_VARIABLE);
+ return c_base_return_error::s_null($error);
+ }
+
+ /**
+ * Implements do_build_argument().
+ */
+ public function do_build_argument() {
+ if (is_null($this->query)) {
+ return new c_base_return_false();
+ }
+
+ $built = $this->query->do_build();
+ if ($built instanceof c_base_return_false) {
+ if (c_base_return::s_has_error($built)) {
+ $error = $built->get_error();
+ return c_base_return_error::s_false($error);
+ }
+
+ return new c_base_return_false();
+ }
+ unset($built);
+
+ return c_base_return_string::s_new($this->query->get_value_exact());
+ }
+}
+
+/**
+ * Provide an SQL expression argument.
+ */
+class c_base_query_argument_expression implements i_base_query_argument {
+ protected const pr_QUERY_AS = 'as';
+
+ protected $expression;
+ protected $alias;
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ $this->expression = NULL;
+ $this->alias = NULL;
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ unset($this->expression);
+ unset($this->alias);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Set the SQL expression.
+ *
+ * Expression are usually fields but also be other expressions.
+ * Expressions may even be SQL queries.
+ *
+ * @param i_base_query_argument|null $expression
+ * The expression to assign.
+ * Set to NULL to remove the assigned expression.
+ *
+ * @return c_base_return_status
+ * TRUE on success, FALSE otherwise.
+ * FALSE with the error bit set is returned on error.
+ */
+ public function set_expression($expression) {
+ if (is_null($expression)) {
+ $this->expression = NULL;
+ return new c_base_return_true();
+ }
+
+ if ($expression instanceof i_base_query_argument) {
+ $this->expression = $expression;
+ return new c_base_return_true();
+ }
+
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{argument_name}' => 'expression', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_ARGUMENT);
+ return c_base_return_error::s_false($error);
+ }
+
+ /**
+ * Set the SQL expression alias.
+ *
+ * @param string|null $alias
+ * An optional alias to assign.
+ * May be required, depending on the generated query.
+ * Set to NULL to disable using during build.
+ *
+ * @return c_base_return_status
+ * TRUE on success, FALSE otherwise.
+ * FALSE with the error bit set is returned on error.
+ */
+ public function set_expression_alias($alias) {
+ if (is_null($alias)) {
+ $this->alias = NULL;
+ return new c_base_return_true();
+ }
+
+ if (is_string($alias)) {
+ $this->alias = $alias;
+ return new c_base_return_true();
+ }
+
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{argument_name}' => 'alias', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_ARGUMENT);
+ return c_base_return_error::s_false($error);
+ }
+
+ /**
+ * Get the assigned SQL expression.
+ *
+ * @return i_base_query_argument|null
+ * A valid query argument.
+ * NULL is returned if not assigned.
+ * NULL with the error bit set is returned on error.
+ */
+ public function get_expression() {
+ if (is_null($this->expression)) {
+ return new c_base_return_null();
+ }
+
+ if ($this->expression instanceof i_base_query_argument) {
+ return clone($this->expression);
+ }
+
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{variable_name}' => 'expression', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_VARIABLE);
+ return c_base_return_error::s_null($error);
+ }
+
+ /**
+ * Get the assigned SQL expression alias.
+ *
+ * @return string|null
+ * A valid expression alias.
+ * NULL is returned if not assigned.
+ * NULL with the error bit set is returned on error.
+ */
+ public function get_expression_alias() {
+ if (is_null($this->alias)) {
+ return new c_base_return_null();
+ }
+
+ if (is_string($this->alias)) {
+ return c_base_return_string::s_new($this->alias);
+ }
+
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{variable_name}' => 'alias', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_VARIABLE);
+ return c_base_return_error::s_null($error);
+ }
+
+ /**
+ * Implements do_build_argument().
+ */
+ public function do_build_argument() {
+ if (!is_string($this->expression)) {
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{variable_name}' => 'expression', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_VARIABLE);
+ return c_base_return_error::s_null($error);
+ }
+
+ $built = $this->expression;
+ if (!is_string($this->alias)) {
+ $built .= ' ' . static::pr_QUERY_AS . ' ' . $this->alias;
+ }
+
+ return c_base_return_string::s_new($built);
+ }
+}
+
+/**
+ * Provide an SQL expression argument, specific to column types.
+ */
+class c_base_query_argument_expression_column extends c_base_query_argument_expression {
+ protected $column;
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+
+ $this->column = NULL;
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ unset($this->column);
+
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Set the SQL expression column.
+ *
+ * @param string|null $column
+ * Set to NULL to remove the assigned expression column.
+ *
+ * @return c_base_return_status
+ * TRUE on success, FALSE otherwise.
+ * FALSE with the error bit set is returned on error.
+ */
+ public function set_expression_column($column) {
+ if (is_null($column)) {
+ $this->column = NULL;
+ return new c_base_return_true();
+ }
+
+ if (is_string($column)) {
+ $this->column = $column;
+ return new c_base_return_true();
+ }
+
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{argument_name}' => 'column', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_ARGUMENT);
+ return c_base_return_error::s_false($error);
+ }
+
+ /**
+ * Get the assigned SQL expression column.
+ *
+ * @return string|null
+ * A valid expression column.
+ * NULL is returned if not assigned.
+ * NULL with the error bit set is returned on error.
+ */
+ public function get_expression_column() {
+ if (is_null($this->column)) {
+ return new c_base_return_null();
+ }
+
+ if (is_string($this->column)) {
+ return c_base_return_string::s_new($this->column);
+ }
+
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{variable_name}' => 'column', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_VARIABLE);
+ return c_base_return_error::s_null($error);
+ }
+
+ /**
+ * Implements do_build_argument().
+ */
+ public function do_build_argument() {
+ $built = parent::do_build_argument();
+
+ if ($built instanceof c_base_return_false) {
+ if (c_base_return::s_has_error($built)) {
+ unset($built);
+ $error = $built->get_error();
+ return c_base_return_error::s_false($error);
+ }
+ unset($built);
+
+ return new c_base_return_false();
+ }
+
+ if (is_string($this->column) && $built instanceof c_base_return_string) {
+ $new_built = $this->column . '.' . $built->get_value_exact();
+ unset($built);
+
+ return c_base_return_string::s_new($new_built);
+ }
+
+ return $built;
+ }
+}
+
+/**
+ * Provide an SQL argument aggregate signature base structure.
+ *
+ * This is essentially an aggregate_signature without the wildcard and ORDER BY support.
+ * The ORDER BY support can then utilize this base without having its own wildcard and ORDER BY.
+ */
+class c_base_query_argument_aggregate_signature_base implements i_base_query_argument {
+ public const QUERY_ARGUMENT_MODE_NONE = 0;
+ public const QUERY_ARGUMENT_MODE_IN = 1;
+ public const QUERY_ARGUMENT_MODE_VARIADIC = 2;
+
+ protected $argument_mode;
+ protected $argument_name;
+ protected $argument_type;
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ $this->argument_mode = NULL;
+ $this->argument_name = NULL;
+ $this->argument_type = NULL;
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ unset($this->argument_mode);
+ unset($this->argument_name);
+ unset($this->argument_type);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Set the SQL argument mode.
+ *
+ * @param int|null $argument_mode
+ * The argument mode to assign.
+ * Set to NULL to remove the assigned mode.
+ *
+ * @return c_base_return_status
+ * TRUE on success, FALSE otherwise.
+ * FALSE with the error bit set is returned on error.
+ */
+ public function set_argument_mode($argument_mode) {
+ if (is_null($argument_mode)) {
+ $this->argument_mode = NULL;
+ return new c_base_return_true();
+ }
+
+ if (is_int($argument_mode)) {
+ $this->argument_mode = $argument_mode;
+ return new c_base_return_true();
+ }
+
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{argument_name}' => 'argument_mode', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_ARGUMENT);
+ return c_base_return_error::s_false($error);
+ }
+
+ /**
+ * Set the SQL argument name.
+ *
+ * @param string|null $argument_name
+ * The argument name to assign.
+ * Set to NULL to remove the assigned name.
+ *
+ * @return c_base_return_status
+ * TRUE on success, FALSE otherwise.
+ * FALSE with the error bit set is returned on error.
+ */
+ public function set_argument_name($argument_name) {
+ if (is_null($argument_name)) {
+ $this->argument_name = NULL;
+ return new c_base_return_true();
+ }
+
+ if (is_string($argument_name)) {
+ $this->argument_name = $argument_name;
+ return new c_base_return_true();
+ }
+
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{argument_name}' => 'argument_name', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_ARGUMENT);
+ return c_base_return_error::s_false($error);
+ }
+
+ /**
+ * Set the SQL argument type.
+ *
+ * @param string|null $argument_type
+ * The argument type to assign.
+ * Set to NULL to remove the assigned type.
+ *
+ * @return c_base_return_status
+ * TRUE on success, FALSE otherwise.
+ * FALSE with the error bit set is returned on error.
+ */
+ public function set_argument_type($argument_type) {
+ if (is_null($argument_type)) {
+ $this->argument_type = NULL;
+ return new c_base_return_true();
+ }
+
+ if (is_string($argument_type)) {
+ $this->argument_type = $argument_type;
+ return new c_base_return_true();
+ }
+
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{argument_type}' => 'argument_type', ':{function_type}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_ARGUMENT);
+ return c_base_return_error::s_false($error);
+ }
+
+ /**
+ * Get the assigned SQL argument mode.
+ *
+ * @return int|null
+ * A valid query argument mode.
+ * NULL is returned if not assigned.
+ * NULL with the error bit set is returned on error.
+ */
+ public function get_argument_mode() {
+ if (is_null($this->argument_mode)) {
+ return new c_base_return_null();
+ }
+
+ if (is_int($this->argument_mode)) {
+ return $this->argument_mode;
+ }
+
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{variable_name}' => 'argument_mode', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_VARIABLE);
+ return c_base_return_error::s_null($error);
+ }
+
+ /**
+ * Get the assigned SQL argument name.
+ *
+ * @return string|null
+ * A valid query argument name.
+ * NULL is returned if not assigned.
+ * NULL with the error bit set is returned on error.
+ */
+ public function get_argument_name() {
+ if (is_null($this->argument_name)) {
+ return new c_base_return_null();
+ }
+
+ if (is_string($this->argument_name)) {
+ return $this->argument_name;
+ }
+
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{variable_name}' => 'argument_name', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_VARIABLE);
+ return c_base_return_error::s_null($error);
+ }
+
+ /**
+ * Get the assigned SQL argument type.
+ *
+ * @return string|null
+ * A valid query argument type.
+ * NULL is returned if not assigned.
+ * NULL with the error bit set is returned on error.
+ */
+ public function get_argument_type() {
+ if (is_null($this->argument_type)) {
+ return new c_base_return_null();
+ }
+
+ if (is_string($this->argument_type)) {
+ return $this->argument_type;
+ }
+
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{variable_type}' => 'argument_type', ':{function_type}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_VARIABLE);
+ return c_base_return_error::s_null($error);
+ }
+
+ /**
+ * Implements do_build_argument().
+ */
+ public function do_build_argument() {
+ if (!is_string($this->argument_type)) {
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{variable_name}' => 'argument_typr', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_VARIABLE);
+ return c_base_return_error::s_null($error);
+ }
+
+ $built = '';
+ if ($this->argument_mode === static::QUERY_MODE_IN) {
+ $built = static::pr_QUERY_MODE_IN;
+ }
+ elseif ($this->argument_mode === static::QUERY_MODE_VARIADIC) {
+ $built = static::pr_QUERY_MODE_VARIADIC;
+ }
+
+ if (is_string($this->argument_name)) {
+ $built .= ' ' . $this->argument_name;
+ }
+
+ if (is_string($this->argument_type)) {
+ $built .= ' ' . $this->argument_type;
+ }
+
+ return c_base_return_string::s_new($built);
+ }
+}
+
+/**
+ * Provide an SQL argument aggregate signature.
+ */
+class c_base_query_argument_aggregate_signature extends c_base_query_argument_aggregate_signature_base {
+ protected $argument_all;
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+
+ $this->argument_all = NULL;
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ unset($this->argument_all);
+
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Set the SQL argument all.
+ *
+ * This represents whether or not a wildcard is used to represent all fields.
+ *
+ * @param bool|null $argument_all
+ * Set to TRUE to enable argument all.
+ * Set to FALSE disable argument all.
+ * Set to NULL to remove the assigned value.
+ *
+ * @return c_base_return_status
+ * TRUE on success, FALSE otherwise.
+ * FALSE with the error bit set is returned on error.
+ */
+ public function set_argument_all($argument_all) {
+ if (is_null($argument_all)) {
+ $this->argument_all = NULL;
+ return new c_base_return_true();
+ }
+
+ if (is_bool($argument_all)) {
+ $this->argument_all = $argument_all;
+ return new c_base_return_true();
+ }
+
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{argument_name}' => 'argument_all', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_ARGUMENT);
+ return c_base_return_error::s_false($error);
+ }
+
+ /**
+ * Get the assigned SQL argument all.
+ *
+ * This represents whether or not a wildcard is used to represent all fields.
+ *
+ * @return bool|null
+ * TRUE if enabled, FALSE otherwise.
+ * NULL is returned if not assigned.
+ * NULL with the error bit set is returned on error.
+ */
+ public function get_argument_all() {
+ if (is_null($this->argument_all)) {
+ return new c_base_return_null();
+ }
+
+ if (is_int($this->argument_all)) {
+ return c_base_return_bool::s_new($this->argument_all);
+ }
+
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{variable_name}' => 'argument_all', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_VARIABLE);
+ return c_base_return_error::s_null($error);
+ }
+
+ /**
+ * Implements do_build_argument().
+ */
+ public function do_build_argument() {
+ if ($this->argument_all === TRUE) {
+ $built = '*';
+ }
+ else {
+ if (!is_string($this->argument_type)) {
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{variable_name}' => 'argument_type', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_VARIABLE);
+ return c_base_return_error::s_null($error);
+ }
+
+ $built = '';
+ if ($this->argument_mode === static::QUERY_MODE_IN) {
+ $built .= c_base_query_string::IN;
+ }
+ elseif ($this->argument_mode === static::QUERY_MODE_VARIADIC) {
+ $built .= c_base_query_string::VARIADIC;
+ }
+
+ if (is_string($this->argument_name)) {
+ $built .= ' ' . $this->argument_name;
+ }
+
+ if (is_string($this->argument_type)) {
+ $built .= ' ' . $this->argument_type;
+ }
+ }
+
+ return c_base_return_string::s_new($built);
+ }
+}
+
+/**
+ * Provide an SQL argument database option.
+ */
+class c_base_query_argument_database_option extends i_base_query_argument {
+ protected $argument_allow_connection;
+ protected $argument_connection_limit;
+ protected $argument_is_template;
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+
+ $this->argument_allow_connection = NULL;
+ $this->argument_connection_limit = NULL;
+ $this->argument_is_template = NULL;
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ unset($this->argument_allow_connection);
+ unset($this->argument_connection_limit);
+ unset($this->argument_is_template);
+
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Set the SQL argument allow connection.
+ *
+ * @param bool|null $allow_connection
+ * Set to TRUE to enable allow connection.
+ * Set to FALSE disable allow connection.
+ * Set to NULL to remove the assigned value.
+ *
+ * @return c_base_return_status
+ * TRUE on success, FALSE otherwise.
+ * FALSE with the error bit set is returned on error.
+ */
+ public function set_argument_allow_connection($allow_connection) {
+ if (is_null($allow_connection)) {
+ $this->argument_allow_connection = NULL;
+ return new c_base_return_true();
+ }
+
+ if (is_bool($allow_connection)) {
+ $this->argument_allow_connection = $allow_connection;
+ return new c_base_return_true();
+ }
+
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{argument_name}' => 'allow_connection', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_ARGUMENT);
+ return c_base_return_error::s_false($error);
+ }
+
+ /**
+ * Set the SQL argument connection limit.
+ *
+ * @param int|null $connection_limit
+ * A connection limit integer.
+ * -1 means no limit.
+ * Set to NULL to remove the assigned value.
+ *
+ * @return c_base_return_status
+ * TRUE on success, FALSE otherwise.
+ * FALSE with the error bit set is returned on error.
+ */
+ public function set_argument_connection_limit($connection_limit) {
+ if (is_null($connection_limit)) {
+ $this->argument_connection_limit = NULL;
+ return new c_base_return_true();
+ }
+
+ if (is_int($connection_limit) && $connection_limit > -2) {
+ $this->argument_connection_limit = $connection_limit;
+ return new c_base_return_true();
+ }
+
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{argument_name}' => 'connection_limit', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_ARGUMENT);
+ return c_base_return_error::s_false($error);
+ }
+
+ /**
+ * Set the SQL argument is template.
+ *
+ * @param bool|null $is_template
+ * Set to TRUE to enable is template.
+ * Set to FALSE disable is template.
+ * Set to NULL to remove the assigned value.
+ *
+ * @return c_base_return_status
+ * TRUE on success, FALSE otherwise.
+ * FALSE with the error bit set is returned on error.
+ */
+ public function set_argument_is_template($is_template) {
+ if (is_null($is_template)) {
+ $this->argument_is_template = NULL;
+ return new c_base_return_true();
+ }
+
+ if (is_bool($is_template)) {
+ $this->argument_is_template = $is_template;
+ return new c_base_return_true();
+ }
+
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{argument_name}' => 'is_template', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_ARGUMENT);
+ return c_base_return_error::s_false($error);
+ }
+
+ /**
+ * Get the assigned SQL argument allow connection.
+ *
+ * @return bool|null
+ * TRUE if enabled, FALSE otherwise.
+ * NULL is returned if not assigned.
+ * NULL with the error bit set is returned on error.
+ */
+ public function get_argument_allow_connection() {
+ if (is_null($this->argument_allow_connection)) {
+ return new c_base_return_null();
+ }
+
+ if (is_bool($this->argument_allow_connection)) {
+ return c_base_return_bool::s_new($this->argument_allow_connection);
+ }
+
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{variable_name}' => 'argument_allow_connection', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_VARIABLE);
+ return c_base_return_error::s_null($error);
+ }
+
+ /**
+ * Get the assigned SQL argument connection limit.
+ *
+ * @return int|null
+ * An integer representing the connection limit.
+ * -1 means no limit.
+ * NULL is returned if not assigned.
+ * NULL with the error bit set is returned on error.
+ */
+ public function get_argument_connection_limit() {
+ if (is_null($this->argument_connection_limit)) {
+ return new c_base_return_null();
+ }
+
+ if (is_int($this->argument_connection_limit) && $this->argument_connection_limit > -2) {
+ return c_base_return_int::s_new($this->argument_connection_limit);
+ }
+
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{variable_name}' => 'argument_connection_limit', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_VARIABLE);
+ return c_base_return_error::s_null($error);
+ }
+
+ /**
+ * Get the assigned SQL argument allow connection.
+ *
+ * @return bool|null
+ * TRUE if enabled, FALSE otherwise.
+ * NULL is returned if not assigned.
+ * NULL with the error bit set is returned on error.
+ */
+ public function get_argument_allow_connection() {
+ if (is_null($this->argument_allow_connection)) {
+ return new c_base_return_null();
+ }
+
+ if (is_bool($this->argument_allow_connection)) {
+ return c_base_return_bool::s_new($this->argument_allow_connection);
+ }
+
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{variable_name}' => 'argument_allow_connection', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_VARIABLE);
+ return c_base_return_error::s_null($error);
+ }
+
+ /**
+ * Implements do_build_argument().
+ */
+ public function do_build_argument() {
+ $built = NULL;
+ if (is_bool($this->argument_allow_connection)) {
+ $built .= ' ' c_base_query_string::ALLOW_CONNECTION;
+ if ($this->argument_connection_limit) {
+ $built .= ' ' . c_base_query_string::TRUE;
+ }
+ else {
+ $built .= ' ' . c_base_query_string::FALSE;
+ }
+ }
+
+ if (is_int($this->argument_connection_limit)) {
+ $built .= ' ' . c_base_query_string::CONNECTION_LIMIT . ' ' . $this->argument_connection_limit;
+ }
+
+ if (is_bool($this->argument_is_template)) {
+ $built .= ' ' . c_base_query_string::IS_TEMPLATE;
+ if ($this->argument_is_template) {
+ $built .= ' ' . c_base_query_string::TRUE;
+ }
+ else {
+ $built .= ' ' . c_base_query_string::FALSE;
+ }
+ }
+
+ if (is_null($built)) {
+ $built = '';
+ }
+ else {
+ $built = c_base_query_string::WITH . ' ' . $built;
+ }
+
+ return c_base_return_string::s_new($built);
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER AGGREGATE.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER AGGREGATE query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_aggregate extends c_base_query {
+ use t_base_query_name;
+ use t_base_query_rename_to;
+ use t_base_query_owner_to;
+ use t_base_query_set_schema;
+
+ protected const pr_QUERY_COMMAND = 'alter aggregate';
+
+ protected $aggregate_signatures;
+ protected $order_by_signatures;
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+
+ $this->query_name = NULL;
+ $this->query_rename_to = NULL;
+ $this->query_owner_to = NULL;
+ $this->query_set_schema = NULL;
+
+ $this->aggregate_signatures = NULL;
+ $this->order_by_signatures = NULL;
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ unset($this->query_name);
+ unset($this->query_rename_to);
+ unset($this->query_owner_to);
+ unset($this->query_set_schema);
+
+ unset($this->aggregate_signatures);
+ unset($this->order_by_signatures);
+
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Set the aggregate signatures.
+ *
+ * @param c_base_query_argument_aggregate_signature|null $aggregate_signature
+ * The aggregate signatures to use.
+ * Set to NULL to disable.
+ * When NULL, this will remove all aggregate signatures regardless of the $append parameter.
+ * @param bool $append
+ * (optional) When TRUE, the aggregate signatures will be appended.
+ * When FALSE, any existing aggregate signatures will be cleared with this value assigned.
+ *
+ * @return c_base_return_status
+ * TRUE on success, FALSE otherwise.
+ * FALSE with error bit set is returned on error.
+ */
+ public function set_aggregate_signature($aggregate_signature, $append = TRUE) {
+ if (is_null($aggregate_signature)) {
+ $this->aggregate_signatures = NULL;
+ return new c_base_return_true();
+ }
+
+ if (!is_bool($append)) {
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{argument_name}' => 'append', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_ARGUMENT);
+ return c_base_return_error::s_false($error);
+ }
+
+ if ($aggregate_signature instanceof c_base_query_argument_aggregate_signature) {
+ if ($append) {
+ if (!is_array($this->aggregate_signatures)) {
+ $this->aggregate_signatures = [];
+ }
+
+ $this->aggregate_signatures[] = $aggregate_signature;
+ }
+ else {
+ $this->aggregate_signatures = [$aggregate_signature];
+ }
+
+ return new c_base_return_true();
+ }
+
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{argument_name}' => 'aggregate_signature', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_ARGUMENT);
+ return c_base_return_error::s_false($error);
+ }
+
+ /**
+ * Set the order by aggregate signatures.
+ *
+ * @param c_base_query_argument_aggregate_signature_base|null $order_by_signature
+ * The order by aggregate signature to use.
+ * Set to NULL to disable.
+ * When NULL, this will remove all modes regardless of the $append parameter.
+ * @param bool $append
+ * (optional) When TRUE, the argument mode will be appended.
+ * When FALSE, any existing modes will be cleared with this value assigned.
+ *
+ * @return c_base_return_status
+ * TRUE on success, FALSE otherwise.
+ * FALSE with error bit set is returned on error.
+ */
+ public function set_order_by_signature($order_by_signature, $append = TRUE) {
+ if (is_null($order_by_signature)) {
+ $this->order_by_signature = NULL;
+ return new c_base_return_true();
+ }
+
+ if (!is_bool($append)) {
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{argument_name}' => 'append', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_ARGUMENT);
+ return c_base_return_error::s_false($error);
+ }
+
+ if ($order_by_signature instanceof c_base_query_argument_aggregate_signature_base) {
+ if ($append) {
+ if (!is_array($this->order_by_signature)) {
+ $this->order_by_signatures = [];
+ }
+
+ $this->order_by_signatures[] = $order_by_signature;
+ }
+ else {
+ $this->order_by_signatures = [$order_by_signature];
+ }
+
+ return new c_base_return_true();
+ }
+
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{argument_name}' => 'order_by_signature', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_ARGUMENT);
+ return c_base_return_error::s_false($error);
+ }
+
+ /**
+ * Get the aggregate signatures.
+ *
+ * @param int|null $index
+ * (optional) Get the argument signature at the specified index.
+ * When NULL, all argument signatures are returned.
+ *
+ * @return c_base_query_argument_aggregate_signature|c_base_return_null
+ * An array of aggregate signatures or NULL if not defined.
+ * A single aggregate signature is returned if $index is an integer.
+ * NULL with the error bit set is returned on error.
+ */
+ public function get_aggregate_signature($index = NULL) {
+ if (is_null($this->aggregate_signatures)) {
+ return new c_base_return_null();
+ }
+
+ if (is_null($index)) {
+ if (is_array($this->aggregate_signatures)) {
+ return $this->aggregate_signatures;
+ }
+ }
+ else {
+ if (is_int($index) && array_key_exists($index, $this->aggregate_signatures) && $this->aggregate_signatures[$index] instanceof c_base_query_argument_aggregate_signature) {
+ return clone($this->aggregate_signatures[$index]);
+ }
+
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{variable_name}' => 'aggregate_signatures[index]', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_VARIABLE);
+ return c_base_return_error::s_null($error);
+ }
+
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{variable_name}' => 'aggregate_signatures', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_VARIABLE);
+ return c_base_return_error::s_null($error);
+ }
+
+ /**
+ * Get the order by aggregate signatures.
+ *
+ * @param int|null $index
+ * (optional) Get the argument signature at the specified index.
+ * When NULL, all argument signatures are returned.
+ *
+ * @return c_base_query_argument_aggregate_signature|c_base_return_null
+ * An array of order by aggregate signatures or NULL if not defined.
+ * A single order by aggregate signature is returned if $index is an integer.
+ * NULL with the error bit set is returned on error.
+ */
+ public function get_order_by_signature($index = NULL) {
+ if (is_null($this->order_by_signatures)) {
+ return new c_base_return_null();
+ }
+
+ if (is_null($index)) {
+ if (is_array($this->order_by_signatures)) {
+ return $this->order_by_signatures;
+ }
+ }
+ else {
+ if (is_int($index) && array_key_exists($index, $this->order_by_signatures) && $this->order_by_signatures[$index] instanceof c_base_query_argument_aggregate_signature_base) {
+ return clone($this->order_by_signatures[$index]);
+ }
+
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{variable_name}' => 'order_by_signatures[index]', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_VARIABLE);
+ return c_base_return_error::s_null($error);
+ }
+
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{variable_name}' => 'order_by_signatures', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_VARIABLE);
+ return c_base_return_error::s_null($error);
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ // the aggregate name is required.
+ if (!is_string($this->query_name)) {
+ return new c_base_return_false();
+ }
+
+ $this->value = static::pr_QUERY_COMMAND;
+ $this->value .= ' ' . $this->query_name;
+
+ $aggregate_signatures = NULL;
+ if (!is_array($this->aggregate_modes) || empty($this->aggregate_modes)) {
+ $aggregate_signatures = ' *';
+ }
+ else {
+ // [ argument_mode ] [ argument_name ] argument_type [, ...]
+ foreach ($this->aggregate_signatures as $aggregate_signature) {
+ if ($aggregate_signature instanceof c_base_query_argument_aggregate_signature) {
+ if (is_null($aggregate_signatures)) {
+ $aggregate_signatures = '';
+ }
+ else {
+ $aggregate_signatures .= ', ';
+ }
+
+ $signature = $aggregate_signature->do_build_argument();
+ if ($signature instanceof c_base_return_string) {
+ $aggregate_signatures .= $signature->get_value_exact();
+ }
+ unset($signature);
+ }
+ }
+ unset($aggregate_signature);
+
+ // ORDER BY [ argument_mode ] [ argument_name ] argument_type [, ...]
+ $order_by_signatures = NULL;
+ foreach ($this->order_by_signatures as $order_by_signature) {
+ if ($order_by_signature instanceof c_base_query_argument_aggregate_signature_base) {
+ if (is_null($order_by_signatures)) {
+ $order_by_signatures = '';
+ }
+ else {
+ $order_by_signatures .= ', ';
+ }
+
+ $signature = $order_by_signature->do_build_argument();
+ if ($signature instanceof c_base_return_string) {
+ $aggregate_signatures .= $signature->get_value_exact();
+ }
+ unset($signature);
+ }
+ }
+ unset($order_by_signature);
+
+ if (is_string($aggregate_signatures)) {
+ $aggregate_signatures = ' (' . $aggregate_signatures;
+ if (is_string($order_by_signatures)) {
+ $order_by_signatures = ' ' . c_base_query_string::ORDER_BY . ' ' . $order_by_signatures . '';
+ }
+ $aggregate_signatures .= ')';
+ }
+ unset($order_by_signatures);
+ }
+
+ if (is_string($this->query_rename_to)) {
+ $this->value .= ' ' . $aggregate_signatures . ' ' . c_base_query_string::RENAME_TO . ' (' . $this->query_rename_to . ')';
+ }
+ elseif (is_string($this->query_owner_to_user_name)) {
+ $this->value .= ' ' . $aggregate_signatures . ' ' . c_base_query_string::OWNER_TO . ' (' . $this->query_owner_to_user_name . ')';
+ }
+ elseif (is_string($this->query_set_schema)) {
+ $this->value .= ' ' . $aggregate_signatures . ' ' . c_base_query_string::SET_SCHEMA . ' (' . $this->query_set_schema . ')';
+ }
+ else {
+ unset($aggregate_signatures);
+
+ $this->value = NULL;
+ return new c_base_return_false();
+ }
+ unset($aggregate_signatures);
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+require_once('common/base/classes/base_query_string.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-altercoalation.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ use t_base_query_name;
+ use t_base_query_rename_to;
+ use t_base_query_owner_to;
+ use t_base_query_set_schema;
+
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+
+ $this->query_name = NULL;
+ $this->query_rename_to = NULL;
+ $this->query_owner_to = NULL;
+ $this->query_set_schema = NULL;
+
+ $this->refreh_version = NULL;
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ unset($this->query_name);
+ unset($this->query_rename_to);
+ unset($this->query_owner_to);
+ unset($this->query_set_schema);
+
+ unset($this->refresh_version);
+
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Set the refresh version.
+ *
+ * @param bool|null $refresh_version
+ * Whether or not to use REFRESH VERSION in the query.
+ * Set to NULL to disable.
+ *
+ * @return c_base_return_status
+ * TRUE on success, FALSE otherwise.
+ * FALSE with error bit set is returned on error.
+ */
+ public function set_refresh_version($refresh_version) {
+ if (is_null($refresh_version)) {
+ $this->refresh_version = NULL;
+ return new c_base_return_true();
+ }
+
+ if (is_bool($refresh_version)) {
+ $this->refresh_version = $refresh_version;
+ return new c_base_return_true();
+ }
+
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{argument_name}' => 'refresh_version', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_ARGUMENT);
+ return c_base_return_error::s_false($error);
+ }
+
+ /**
+ * Get the refresh version setting.
+ *
+ * @return c_base_return_bool|c_base_return_null
+ * TRUE if refresh version is enabled, FALSE if disabled, or NULL if not defined.
+ * NULL with the error bit set is returned on error.
+ */
+ public function get_refresh_version() {
+ if (is_null($this->refresh_version)) {
+ return new c_base_return_null();
+ }
+
+ if (is_bool($this->refresh_version)) {
+ return c_base_return_bool::s_new($this->refresh_version);
+ }
+
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{variable_name}' => 'refresh_version', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_VARIABLE);
+ return c_base_return_error::s_null($error);
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ // the collation name is required.
+ if (!is_string($this->query_name)) {
+ return new c_base_return_false();
+ }
+
+ $this->value = static::pr_QUERY_COMMAND;
+ $this->value .= ' ' . $this->query_name;
+
+ if (is_bool($this->refresh_version)) {
+ $this->value .= ' ' . c_base_query_string::REFRESH_VERSION;
+ }
+ elseif (is_string($this->query_rename_to)) {
+ $this->value .= ' ' . $this->pr_QUERY_RENAME_TO . ' (' . $this->query_rename_to . ')';
+ }
+ elseif (is_string($this->query_owner_to_user_name)) {
+ $this->value .= ' ' . $this->pr_QUERY_OWNER_TO . ' (' . $this->query_owner_to_user_name . ')';
+ }
+ elseif (is_string($this->query_set_schema)) {
+ $this->value .= ' ' . $this->pr_QUERY_SET_SCHEMA . ' (' . $this->query_set_schema . ')';
+ }
+ else {
+ $this->value = NULL;
+ return new c_base_return_false();
+ }
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER CONVERSION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER CONVERSION query string.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alterconversion.html
+ */
+class c_base_query_alter_conversion extends c_base_query {
+ use t_base_query_name;
+ use t_base_query_rename_to;
+ use t_base_query_owner_to;
+ use t_base_query_set_schema;
+
+ protected const pr_QUERY_COMMAND = 'alter conversion';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+
+ $this->query_name = NULL;
+ $this->query_rename_to = NULL;
+ $this->query_owner_to = NULL;
+ $this->query_set_schema = NULL;
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ unset($this->query_name);
+ unset($this->query_rename_to);
+ unset($this->query_owner_to);
+ unset($this->query_set_schema);
+
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ // the collation name is required.
+ if (!is_string($this->query_name)) {
+ return new c_base_return_false();
+ }
+
+ $this->value = static::pr_QUERY_COMMAND;
+ $this->value .= ' ' . $this->query_name;
+
+ if (is_string($this->query_rename_to)) {
+ $this->value .= ' ' . $this->pr_QUERY_RENAME_TO . ' (' . $this->query_rename_to . ')';
+ }
+ elseif (is_string($this->query_owner_to_user_name)) {
+ $this->value .= ' ' . $this->pr_QUERY_OWNER_TO . ' (' . $this->query_owner_to_user_name . ')';
+ }
+ elseif (is_string($this->query_set_schema)) {
+ $this->value .= ' ' . $this->pr_QUERY_SET_SCHEMA . ' (' . $this->query_set_schema . ')';
+ }
+ else {
+ $this->value = NULL;
+ return new c_base_return_false();
+ }
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER DATABASE.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+require_once('common/base/classes/base_query_string.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER DATABASE query string.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alterdatabase.html
+ */
+class c_base_query_alter_database extends c_base_query {
+ use t_base_query_name;
+ use t_base_query_rename_to;
+ use t_base_query_owner_to;
+ use t_base_query_set_tablespace;
+ use t_base_query_set;
+ use t_base_query_reset;
+
+ protected const pr_QUERY_COMMAND = 'alter database';
+
+ protected $option;
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+
+ $this->query_name = NULL;
+ $this->query_rename_to = NULL;
+ $this->query_owner_to = NULL;
+ $this->query_set_tablespace = NULL;
+ $this->query_set = NULL;
+ $this->query_set_parameter = NULL;
+ $this->query_set_value = NULL;
+ $this->query_reset = NULL;
+ $this->query_reset_parameter = NULL;
+
+ $this->option = NULL;
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ unset($this->query_name);
+ unset($this->query_rename_to);
+ unset($this->query_owner_to);
+ unset($this->query_set_tablespace);
+ unset($this->query_set);
+ unset($this->query_set_parameter);
+ unset($this->query_set_value);
+ unset($this->query_reset);
+ unset($this->query_reset_parameter);
+
+ unset($this->option);
+
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Set the option.
+ *
+ * @param c_base_query_argument_database_option|null $option
+ * The database options to use.
+ * Set to NULL to disable.
+ * When NULL, this will remove all modes regardless of the $append parameter.
+ *
+ * @return c_base_return_status
+ * TRUE on success, FALSE otherwise.
+ * FALSE with error bit set is returned on error.
+ */
+ public function set_option($option) {
+ if (is_null($option)) {
+ $this->option = NULL;
+ return new c_base_return_true();
+ }
+
+ if (!($option instanceof c_base_query_argument_database_option)) {
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{argument_name}' => 'option', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_ARGUMENT);
+ return c_base_return_error::s_false($error);
+ }
+
+ $this->option = $option;
+ return new c_base_return_true;
+ }
+
+ /**
+ * Get assigned option.
+ *
+ * @return c_base_query_argument_database_option|c_base_return_null
+ * The assigned option or NULL if not defined.
+ * NULL with the error bit set is returned on error.
+ */
+ public function get_option() {
+ if (is_null($this->option)) {
+ return new c_base_return_null();
+ }
+
+ if ($this->option instanceof c_base_query_argument_database_option) {
+ return clone($this->option);
+ }
+
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{variable_name}' => 'option', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_VARIABLE);
+ return c_base_return_error::s_null($error);
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ // the database name is required.
+ if (!is_string($this->query_name)) {
+ return new c_base_return_false();
+ }
+
+ $this->value = static::pr_QUERY_COMMAND;
+ $this->value .= ' ' . $this->query_name;
+
+ if ($this->option instanceof c_base_query_argument_database_option) {
+ $built = $this->option->do_build_argument();
+ if ($built instanceof c_base_return_string) {
+ $this->value .= ' ' . $built->get_value_exact();
+ }
+ unset($built);
+ }
+ elseif (is_string($this->query_rename_to)) {
+ $this->value .= ' ' . c_base_query_string::RENAME_TO . ' (' . $this->query_rename_to . ')';
+ }
+ elseif (is_string($this->query_owner_to_user_name)) {
+ $this->value .= ' ' . c_base_query_string::OWNER_TO . ' (' . $this->query_owner_to_user_name . ')';
+ }
+ elseif (is_string($this->query_set_tablespace)) {
+ $this->value .= ' ' . c_base_query_string::SET_TABLESPACE . ' (' . $this->query_set_tablespace . ')';
+ }
+ elseif (is_int($this->query_set)) {
+ if ($this->query_set == c_base_query_code_set::TO) {
+ if (is_null($this->query_set_parameter)) {
+ $this->value .= ' ' . c_base_query_string::SET . ' ' . $this->query_set_parameter . ' ' . c_base_query_string::TO . ' ' . c_base_query_string::DEFAULT;
+ }
+ elseif (is_string($this->query_set_parameter) && is_string($this->query_set_value)) {
+ $this->value .= ' ' . c_base_query_string::SET . ' ' . $this->query_set_parameter . ' ' . c_base_query_string::TO . ' ' . $this->query_set_value;
+ }
+ }
+ elseif ($this->query_set == c_base_query_code_set::EQUAL) {
+ if (is_null($this->query_set_parameter)) {
+ $this->value .= ' ' . c_base_query_string::SET . ' ' . $this->query_set_parameter . ' = ' . c_base_query_string::DEFAULT;
+ }
+ elseif (is_string($this->query_set_parameter) && is_string($this->query_set_value)) {
+ $this->value .= ' ' . c_base_query_string::SET . ' ' . $this->query_set_parameter . ' = ' . $this->query_set_value;
+ }
+ }
+ elseif ($this->query_set == c_base_query_code_set::FROM_CURRENT) {
+ if (is_string($this->query_set_parameter)) {
+ $this->value .= ' ' . c_base_query_string::SET . ' ' . $this->query_set_parameter . ' = ' . c_base_query_string::FROM_CURRENT;
+ }
+ }
+ }
+ elseif (is_string($this->query_reset)) {
+ if ($this->query_set == c_base_query_code_reset::PARAMETER) {
+ if (is_string($this->query_set_parameter)) {
+ $this->value .= ' ' . c_base_query_string::RESET . ' ' . $this->query_set_parameter;
+ }
+ }
+ elseif ($this->query_set == c_base_query_code_reset::ALL) {
+ $this->value .= ' ' . c_base_query_string::RESET . ' ' . c_base_query_string::ALL;
+ }
+ }
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER DEFAULT PRIVILEGES.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER DEFAULT PRIVILEGES query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter default privileges';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER DOMAIN.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER DOMAIN query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter domain';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER EVENT TRIGGER.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER EVENT TRIGGER query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter event trigger';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides classes for managing codes used for generating specific Postgesql Queries.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-commands.html
+ */
+namespace n_koopa;
+
+/**
+ * Codes associated with postgresql user/session information.
+ */
+static class c_base_query_code_user {
+ public const NONE = 0;
+ public const CURRENT = 1;
+ public const SESSION = 2;
+ public const NAME = 3;
+}
+
+/**
+ * Codes associated with GROUP BY, ORDER BY, and related queries.
+ */
+static class c_base_query_code_direction {
+ public const NONE = 0;
+ public const ASCEND = 1;
+ public const DESCEND = 2;
+}
+
+/**
+ * Codes associated with SET and related queries.
+ */
+static class c_base_query_code_set {
+ public const NONE = 0;
+ public const TO = 1;
+ public const EQUAL = 2;
+ public const FROM_CURRENT = 3;
+}
+
+/**
+ * Codes associated with RESET and related queries.
+ */
+static class c_base_query_code_reset {
+ public const NONE = 0;
+ public const ALL = 1;
+ public const PARAMETER = 2;
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ROLLBACK.
+ *
+ * ROLLBACK replaces the ABORT command.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ROLLBACK query string.
+ *
+ * This does not implement the optional keywords WORK and TRANSACTION because they have no effect.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-rollback.html
+ */
+class c_base_query_rollback extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'rollback';
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides classes for storing constant strings for generating specific Postgesql Queries.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-commands.html
+ */
+namespace n_koopa;
+
+/**
+ * A collection of strings used for generating SQL.
+ */
+static class c_base_query_string {
+ public const OWNER_TO = 'owner to';
+ public const USER_CURRENT = 'current_user';
+ public const USER_SESSION = 'session_user';
+
+ public const REFRESH_VERSION = 'refresh version';
+
+ public const SET_SCHEMA = 'set schema';
+ public const RENAME_TO = 'rename to';
+
+ public const ORDER_BY = 'order by';
+ public const GROUP_BY = 'group by';
+
+ public const IN = 'in';
+ public const WITH = 'with';
+ public const TO = 'to';
+
+ public const VARIADIC = 'variadic';
+
+ public const SET = 'set';
+ public const RESET = 'reset';
+ public const RESET_ALL = 'reset all';
+
+ public const ASCEND = 'asc';
+ public const DESCEND = 'desc';
+
+ public const TRUE = 'true';
+ public const FALSE = 'false';
+
+ public const ALLOW_CONNECTIONS = 'allow_connections';
+ public const CONNECTION_LIMIT = 'connection limit';
+ public const IS_TEMPLATE = 'is_template';
+
+ public const SET_TABLESPACE = 'set tablespace';
+ public const FROM_CURRENT = 'from current';
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides a class for specific Postgesql query: ALTER COALATION.
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query.php');
+
+require_once('common/base/traits/base_query.php');
+
+/**
+ * The class for building and returning a Postgresql ALTER COALATION query string.
+ *
+ * When no argument mode is specified, then a wildcard * is auto-provided for the aggregate_signature parameter.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-alteraggregate.html
+ */
+class c_base_query_alter_coalation extends c_base_query {
+ protected const pr_QUERY_COMMAND = 'alter coalation';
+
+
+ /**
+ * Class constructor.
+ */
+ public function __construct() {
+ parent::__construct();
+ }
+
+ /**
+ * Class destructor.
+ */
+ public function __destruct() {
+ parent::__destruct();
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_new()
+ */
+ public static function s_new($value) {
+ return self::p_s_new($value, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value::p_s_value()
+ */
+ public static function s_value($return) {
+ return self::p_s_value($return, __CLASS__);
+ }
+
+ /**
+ * @see: t_base_return_value_exact::p_s_value_exact()
+ */
+ public static function s_value_exact($return) {
+ return self::p_s_value_exact($return, __CLASS__, '');
+ }
+
+ /**
+ * Implements do_build().
+ */
+ public function do_build() {
+ $this->value = NULL;
+
+ // @todo
+
+ return new c_base_return_true();
+ }
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides interfaces for specific Postgesql Queries.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-commands.html
+ */
+namespace n_koopa;
+
+/**
+ * An interface for building SQL queries.
+ */
+interface i_base_query {
+
+ /**
+ * Build the Postgresql query string.
+ *
+ * @return c_base_return_status
+ * TRUE on success, FALSE otherwise.
+ * FALSE with the error bit set is returned on error.
+ */
+ public function do_build();
+
+ /**
+ * Reset all values in this class.
+ *
+ * @return c_base_return_status
+ * TRUE on success, FALSE otherwise.
+ * FALSE with the error bit set is returned on error.
+ */
+ public function do_reset();
+}
+
+/**
+ * An interface for passing arguments to a query that may or may not have SQL functions.
+ */
+interface i_base_query_argument {
+
+ /**
+ * Return a processed argument.
+ *
+ * @return c_base_return_string|c_base_return_false
+ * An SQL string representing the built argument.
+ * FALSE without error bit set is returned if there is nothing to build.
+ * FALSE with the error bit set is returned on error.
+ */
+ public function do_build_argument();
+}
--- /dev/null
+<?php
+/**
+ * @file
+ * Provides traits for specific Postgesql Queries.
+ *
+ * The particular design of traits as provided here are intended to be addd to the a base query class for assisting in the generation of an SQL query, statement, or operation.
+ * During the generation, it is expected that when there are combined traits, the class building the query will decide which property to use and which not to use.
+ * For example, if there is a class that includes SET SCHEMA and RENAME TO, both with properties set by the caller, only one of those may be used if the built SQL will only support one of those at a time.
+ * If the SQL query allows both, then both will be used.
+ *
+ * @see: https://www.postgresql.org/docs/current/static/sql-commands.html
+ */
+namespace n_koopa;
+
+require_once('common/base/classes/base_error.php');
+require_once('common/base/classes/base_return.php');
+require_once('common/base/classes/base_query_string.php');
+require_once('common/base/classes/c_base_query_code_set.php');
+
+/**
+ * Provide sql OWNER TO functionality.
+ */
+trait t_base_query_owner_to {
+ protected $query_owner_to;
+ protected $query_owner_to_user_name;
+
+ /**
+ * Set the OWNER TO settings.
+ *
+ * @param int|null $owner_to
+ * The owner type to assign.
+ * Should be one of: c_base_query_code_user.
+ * Set to NULL to disable.
+ * @param string|null $user_name
+ * (optional) When non-NULL this is the database user name.
+ * When NULL, this is ignored.
+ *
+ * @return c_base_return_status
+ * TRUE on success, FALSE otherwise.
+ * FALSE with the error bit set is returned on error.
+ */
+ public function set_query_owner_to($owner_to, $user_name = NULL) {
+ if (is_null($owner_to)) {
+ $this->query_owner_to = NULL;
+ $this->query_owner_to_user_name = NULL;
+ return new c_base_return_true();
+ }
+
+ if (!is_int($owner_to)) {
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{argument_name}' => 'owner_to', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_ARGUMENT);
+ return c_base_return_error::s_false($error);
+ }
+
+ if ($owner_type == c_base_query_code_user::USER_NAME) {
+ if (!is_null($user_name) && !is_string($user_name)) {
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{argument_name}' => 'user_name', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_ARGUMENT);
+ return c_base_return_error::s_false($error);
+ }
+
+ $this->query_owner_to = $owner_to;
+ $this->query_owner_to_user_name = $user_name;
+ return new c_base_return_true();
+ }
+
+ if (!is_null($user_name)) {
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{argument_name}' => 'user_name', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_ARGUMENT);
+ return c_base_return_error::s_false($error);
+ }
+
+ $this->query_owner_to = $owner_to;
+ $this->query_owner_to_user_name = NULL;
+
+ if ($owner_type == c_base_query_code_user::USER_CURRENT) {
+ $this->query_owner_to_user_name = c_base_query_string::USER_CURRENT;
+ }
+ elseif ($owner_type == c_base_query_code_user::USER_SESSION) {
+ $this->query_owner_to_user_name = c_base_query_string::USER_SESSION;
+ }
+
+ return new c_base_return_true();
+ }
+
+ /**
+ * Get the currently assigned sql owner to.
+ *
+ * @return c_base_return_int|c_base_return_null
+ * A (c_base_query_code_user) code representing the owner on success.
+ * NULL without error bit set is returned if not assigned.
+ * NULL with the error bit set is returned on error.
+ */
+ public function get_query_owner_to() {
+ if (is_null($this->query_owner_to)) {
+ return new c_base_return_null();
+ }
+
+ if (is_int($this->query_owner_to)) {
+ return c_base_return_int::s_new($this->query_owner_to);
+ }
+
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{variable_name}' => 'query_owner_to', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_VARIABLE);
+ return c_base_return_error::s_null($error);
+ }
+
+ /**
+ * Get the currently assigned sql owner to specified name.
+ *
+ * @return c_base_return_string|c_base_return_null
+ * An owner to name on success.
+ * NULL without error bit set is returned if not assigned.
+ * NULL with the error bit set is returned on error.
+ */
+ public function get_query_owner_to_user_name() {
+ if (is_null($this->query_owner_to_user_name)) {
+ return new c_base_return_null();
+ }
+
+ if (is_string($this->query_owner_to_user_name)) {
+ return c_base_return_string::s_new($this->query_owner_to_user_name);
+ }
+
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{variable_name}' => 'query_owner_to_user_name', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_VARIABLE);
+ return c_base_return_error::s_null($error);
+ }
+}
+
+/**
+ * Provide the sql RENAME TO functionality.
+ */
+trait t_base_query_rename_to {
+ protected $query_rename_to;
+
+ /**
+ * Set the RENAME TO settings.
+ *
+ * @param string|null $rename_to
+ * The name to rename to.
+ * Set to NULL to disable.
+ *
+ * @return c_base_return_status
+ * TRUE on success, FALSE otherwise.
+ * FALSE with the error bit set is returned on error.
+ */
+ public function set_query_rename_to($rename_to) {
+ if (!is_null($rename_to) && !is_string($rename_to)) {
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{argument_name}' => 'rename_to', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_ARGUMENT);
+ return c_base_return_error::s_false($error);
+ }
+
+ $this->query_rename_to = $rename_to;
+ return new c_base_return_true();
+ }
+
+ /**
+ * Get the currently assigned name to rename to.
+ *
+ * @return c_base_return_string|c_base_return_null
+ * A name on success.
+ * NULL is returned if not set (rename to is not to be used).
+ * NULL with the error bit set is returned on error.
+ */
+ public function get_query_rename_to() {
+ if (is_null($this->query_rename_to)) {
+ return new c_base_return_null();
+ }
+
+ if (is_string($this->query_rename_to)) {
+ return c_base_return_string::s_new($this->query_rename_to);
+ }
+
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{variable_name}' => 'query_rename_to', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_VARIABLE);
+ return c_base_return_error::s_null($error);
+ }
+}
+
+/**
+ * Provide the sql SET SCHEMA functionality.
+ */
+trait t_base_query_set_schema {
+ protected $query_set_schema;
+
+ /**
+ * Set the RENAME TO settings.
+ *
+ * @param string|null $set_schema
+ * The name to rename to.
+ * Set to NULL to disable.
+ *
+ * @return c_base_return_status
+ * TRUE on success, FALSE otherwise.
+ * FALSE with the error bit set is returned on error.
+ */
+ public function set_query_set_schema($set_schema) {
+ if (!is_null($set_schema) && !is_string($set_schema)) {
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{argument_name}' => 'set_schema', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_ARGUMENT);
+ return c_base_return_error::s_false($error);
+ }
+
+ $this->query_set_schema = $set_schema;
+ return new c_base_return_true();
+ }
+
+ /**
+ * Get the currently assigned schema name to set to.
+ *
+ * @return c_base_return_string|c_base_return_null
+ * A schema name on success.
+ * NULL is returned if not set (set schema is not to be used).
+ * NULL with the error bit set is returned on error.
+ */
+ public function get_query_set_schema() {
+ if (is_null($this->query_set_schema)) {
+ return new c_base_return_null();
+ }
+
+ if (is_string($this->query_set_schema)) {
+ return c_base_return_string::s_new($this->query_set_schema);
+ }
+
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{variable_name}' => 'query_set_schema', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_VARIABLE);
+ return c_base_return_error::s_null($error);
+ }
+}
+
+/**
+ * Provide the sql ORDER BY functionality.
+ */
+trait t_base_query_order_by {
+ protected $query_order_by;
+
+ /**
+ * Set the ORDER BY settings.
+ *
+ * @param string|null $order_by
+ * The name to rename to.
+ * Set to NULL to disable.
+ *
+ * @return c_base_return_status
+ * TRUE on success, FALSE otherwise.
+ * FALSE with the error bit set is returned on error.
+ */
+ public function set_query_order_by($order_by) {
+ if (is_null($order_by)) {
+ $this->query_order_by = NULL;
+ return new c_base_return_true();
+ }
+
+ if (is_string($order_by)) {
+ $this->query_order_by = $order_by;
+ return new c_base_return_true();
+ }
+
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{argument_name}' => 'order_by', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_ARGUMENT);
+ return c_base_return_error::s_false($error);
+ }
+
+ /**
+ * Get the currently assigned name to rename to.
+ *
+ * @return c_base_return_string|c_base_return_null
+ * A name on success.
+ * NULL is returned if not set (rename to is not to be used).
+ * NULL with the error bit set is returned on error.
+ */
+ public function get_query_order_by() {
+ if (is_null($this->query_order_by)) {
+ return new c_base_return_null();
+ }
+
+ if (is_string($this->query_order_by)) {
+ return c_base_return_string::s_new($this->query_order_by);
+ }
+
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{variable_name}' => 'query_order_by', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_VARIABLE);
+ return c_base_return_error::s_null($error);
+ }
+}
+
+/**
+ * Provide the sql GROUP BY functionality.
+ */
+trait t_base_query_group_by {
+ protected $query_group_by;
+
+ /**
+ * Set the RENAME TO settings.
+ *
+ * @param string|null $group_by
+ * The name to rename to.
+ * Set to NULL to disable.
+ *
+ * @return c_base_return_status
+ * TRUE on success, FALSE otherwise.
+ * FALSE with the error bit set is returned on error.
+ */
+ public function set_query_group_by($group_by) {
+ if (is_null($group_by)) {
+ $this->query_group_by = NULL;
+ return new c_base_return_true();
+ }
+
+ if (is_string($group_by)) {
+ $this->query_group_by = $group_by;
+ return new c_base_return_true();
+ }
+
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{argument_name}' => 'group_by', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_ARGUMENT);
+ return c_base_return_error::s_false($error);
+ }
+
+ /**
+ * Get the currently assigned name to rename to.
+ *
+ * @return c_base_return_string|c_base_return_null
+ * A name on success.
+ * NULL is returned if not set (rename to is not to be used).
+ * NULL with the error bit set is returned on error.
+ */
+ public function get_query_group_by() {
+ if (is_null($this->query_group_by)) {
+ return new c_base_return_null();
+ }
+
+ if (is_string($this->query_group_by)) {
+ return c_base_return_string::s_new($this->query_group_by);
+ }
+
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{variable_name}' => 'query_group_by', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_VARIABLE);
+ return c_base_return_error::s_null($error);
+ }
+}
+
+
+/**
+ * Provide the sql NAME functionality.
+ */
+trait t_base_query_name {
+ protected $query_name;
+
+ /**
+ * Set the NAME settings.
+ *
+ * @param string|null $name
+ * The name to use.
+ * Set to NULL to disable.
+ *
+ * @return c_base_return_status
+ * TRUE on success, FALSE otherwise.
+ * FALSE with the error bit set is returned on error.
+ */
+ public function set_query_name($name) {
+ if (is_null($name)) {
+ $this->query_name = NULL;
+ return new c_base_return_true();
+ }
+
+ if (is_string($name)) {
+ $this->query_name = $name;
+ return new c_base_return_true();
+ }
+
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{argument_name}' => 'name', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_ARGUMENT);
+ return c_base_return_error::s_false($error);
+ }
+
+ /**
+ * Get the currently assigned name.
+ *
+ * @return c_base_return_string|c_base_return_null
+ * A name on success.
+ * NULL is returned if not set.
+ * NULL with the error bit set is returned on error.
+ */
+ public function get_query_name() {
+ if (is_null($this->query_name)) {
+ return new c_base_return_null();
+ }
+
+ if (is_string($this->query_name)) {
+ return c_base_return_string::s_new($this->query_name);
+ }
+
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{variable_name}' => 'query_name', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_VARIABLE);
+ return c_base_return_error::s_null($error);
+ }
+}
+
+/**
+ * Provide the sql SET TABLESPACE functionality.
+ */
+trait t_base_query_set_tablespace {
+ protected $query_set_tablespace;
+
+ /**
+ * Set the SET TABLESPACE settings.
+ *
+ * @param string|null $set_tablespace
+ * The tablespace name to set to.
+ * Set to NULL to disable.
+ *
+ * @return c_base_return_status
+ * TRUE on success, FALSE otherwise.
+ * FALSE with the error bit set is returned on error.
+ */
+ public function set_query_set_tablespace($set_tablespace) {
+ if (!is_null($set_tablespace) && !is_string($set_tablespace)) {
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{argument_name}' => 'set_tablespace', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_ARGUMENT);
+ return c_base_return_error::s_false($error);
+ }
+
+ $this->query_set_tablespace = $set_tablespace;
+ return new c_base_return_true();
+ }
+
+ /**
+ * Get the currently assigned tablespace name to set to.
+ *
+ * @return c_base_return_string|c_base_return_null
+ * A tablespace name on success.
+ * NULL is returned if not set (set tablespace is not to be used).
+ * NULL with the error bit set is returned on error.
+ */
+ public function get_query_set_tablespace() {
+ if (is_null($this->query_set_tablespace)) {
+ return new c_base_return_null();
+ }
+
+ if (is_string($this->query_set_tablespace)) {
+ return c_base_return_string::s_new($this->query_set_tablespace);
+ }
+
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{variable_name}' => 'query_set_tablespace', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_VARIABLE);
+ return c_base_return_error::s_null($error);
+ }
+}
+
+/**
+ * Provide the sql SET functionality.
+ */
+trait t_base_query_set {
+ protected $query_set;
+ protected $query_set_parameter;
+ protected $query_set_value;
+
+ /**
+ * Set the SET settings.
+ *
+ * @param int|null $set
+ * The SET code to assign.
+ * Should be one of: c_base_query_code_set.
+ * Set to NULL to disable.
+ * @param string|null $parameter
+ * (optional) When non-NULL this is the configuration parameter.
+ * When NULL, DEFAULT is used if applicablem otherwise this is ignored.
+ * @param string|null $value
+ * (optional) When non-NULL this is the value.
+ * When NULL, this is ignored.
+ *
+ * @return c_base_return_status
+ * TRUE on success, FALSE otherwise.
+ * FALSE with the error bit set is returned on error.
+ */
+ public function set_query_set($set, $parameter = NULL, $value = NULL) {
+ if (is_null($set)) {
+ $this->query_set = NULL;
+ $this->query_set_parameter = NULL;
+ $this->query_set_value = NULL;
+ return new c_base_return_true();
+ }
+
+ if (!is_int($set)) {
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{argument_name}' => 'set', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_ARGUMENT);
+ return c_base_return_error::s_false($error);
+ }
+
+ if ($set == c_base_query_code_set::TO || $set == c_base_query_code_set::EQUAL) {
+ if (!is_null($parameter) || !is_string($parameter)) {
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{argument_name}' => 'parameter', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_ARGUMENT);
+ return c_base_return_error::s_false($error);
+ }
+
+ if (!is_null($value) || !is_string($value)) {
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{argument_name}' => 'value', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_ARGUMENT);
+ return c_base_return_error::s_false($error);
+ }
+
+ $this->query_set = $set;
+ $this->query_set_parameter = $parameter;
+ $this->query_set_value = $value;
+ return new c_base_return_true();
+ }
+ elseif ($set == c_base_query_code_set::FROM_CURRENT) {
+ $this->query_set = $set;
+ $this->query_set_parameter = NULL;
+ $this->query_set_value = NULL;
+ return new c_base_return_true();
+ }
+
+ return new c_base_return_false();
+ }
+
+ /**
+ * Get the currently assigned sql set.
+ *
+ * @return c_base_return_int|c_base_return_null
+ * A (c_base_query_set) code representing the set on success.
+ * NULL is returned if not set (set tablespace is not to be used).
+ * NULL with the error bit set is returned on error.
+ */
+ public function get_query_set() {
+ if (is_null($this->query_set)) {
+ return new c_base_return_null();
+ }
+
+ if (is_int($this->query_set)) {
+ return c_base_return_int::s_new($this->query_set);
+ }
+
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{variable_name}' => 'query_set', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_VARIABLE);
+ return c_base_return_error::s_null($error);
+ }
+
+ /**
+ * Get the currently assigned sql set parameter value.
+ *
+ * @return c_base_return_string|c_base_return_null
+ * A set parameter value on success.
+ * NULL without error bit set is returned if not assigned.
+ * NULL with the error bit set is returned on error.
+ */
+ public function get_query_set_parameter() {
+ if (is_null($this->query_set_parameter)) {
+ return new c_base_return_null();
+ }
+
+ if (is_string($this->query_set_parameter)) {
+ return c_base_return_string::s_new($this->query_set_parameter);
+ }
+
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{variable_name}' => 'query_set_parameter', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_VARIABLE);
+ return c_base_return_error::s_null($error);
+ }
+
+ /**
+ * Get the currently assigned sql set value value.
+ *
+ * @return c_base_return_string|c_base_return_null
+ * A set value value on success.
+ * NULL without error bit set is returned if not assigned.
+ * NULL with the error bit set is returned on error.
+ */
+ public function get_query_set_value() {
+ if (is_null($this->query_set_value)) {
+ return new c_base_return_null();
+ }
+
+ if (is_string($this->query_set_value)) {
+ return c_base_return_string::s_new($this->query_set_value);
+ }
+
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{variable_name}' => 'query_set_value', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_VARIABLE);
+ return c_base_return_error::s_null($error);
+ }
+}
+
+/**
+ * Provide the sql RESET functionality.
+ */
+trait t_base_query_reset {
+ protected $query_reset;
+ protected $query_reset_parameter;
+
+ /**
+ * Set the RESET settings.
+ *
+ * @param int|null $reset
+ * The reset code to assign.
+ * Should be one of: c_base_query_code_reset.
+ * Set to NULL to disable.
+ * @param string|null $parameter
+ * (optional) When non-NULL this is the configuration parameter.
+ * When NULL, DEFAULT is used if applicablem otherwise this is ignored.
+ *
+ * @return c_base_return_status
+ * TRUE on success, FALSE otherwise.
+ * FALSE with the error bit set is returned on error.
+ */
+ public function set_query_reset($reset, $parameter = NULL) {
+ if (is_null($reset)) {
+ $this->query_reset = NULL;
+ $this->query_reset_parameter = NULL;
+ return new c_base_return_true();
+ }
+
+ if (!is_int($reset)) {
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{argument_name}' => 'reset', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_ARGUMENT);
+ return c_base_return_error::s_false($error);
+ }
+
+ if ($reset == c_base_query_code_reset::PARAMETER) {
+ if (!is_null($parameter) || !is_string($parameter)) {
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{argument_name}' => 'parameter', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_ARGUMENT);
+ return c_base_return_error::s_false($error);
+ }
+
+ $this->query_reset = $reset;
+ $this->query_reset_parameter = $parameter;
+ return new c_base_return_true();
+ }
+ elseif ($reset == c_base_query_code_reset::ALL) {
+ $this->query_reset = $reset;
+ $this->query_reset_parameter = NULL;
+ return new c_base_return_true();
+ }
+
+ return new c_base_return_false();
+ }
+
+ /**
+ * Get the currently assigned sql reset.
+ *
+ * @return c_base_return_int|c_base_return_null
+ * A (c_base_query_reset) code representing the reset on success.
+ * NULL is returned if not set (reset tablespace is not to be used).
+ * NULL with the error bit set is returned on error.
+ */
+ public function get_query_reset() {
+ if (is_null($this->query_reset)) {
+ return new c_base_return_null();
+ }
+
+ if (is_int($this->query_reset)) {
+ return c_base_return_int::s_new($this->query_reset);
+ }
+
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{variable_name}' => 'query_reset', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_VARIABLE);
+ return c_base_return_error::s_null($error);
+ }
+
+ /**
+ * Get the currently assigned sql reset parameter value.
+ *
+ * @return c_base_return_string|c_base_return_null
+ * A reset parameter value on success.
+ * NULL without error bit reset is returned if not assigned.
+ * NULL with the error bit reset is returned on error.
+ */
+ public function get_query_reset_parameter() {
+ if (is_null($this->query_reset_parameter)) {
+ return new c_base_return_null();
+ }
+
+ if (is_string($this->query_reset_parameter)) {
+ return c_base_return_string::s_new($this->query_reset_parameter);
+ }
+
+ $error = c_base_error::s_log(NULL, ['arguments' => [':{variable_name}' => 'query_reset_parameter', ':{function_name}' => __CLASS__ . '->' . __FUNCTION__]], i_base_error_messages::INVALID_VARIABLE);
+ return c_base_return_error::s_null($error);
+ }
+}