diff options
| -rw-r--r-- | REFLECTION | 106 | ||||
| -rw-r--r-- | php-pecl-mysql-xdevapi.spec | 7 | 
2 files changed, 102 insertions, 11 deletions
| @@ -1,4 +1,4 @@ -Extension [ <persistent> extension #72 mysql_xdevapi version 8.0.2 ] { +Extension [ <persistent> extension #74 mysql_xdevapi version 8.0.3 ] {    - Dependencies {      Dependency [ standard (Required) ] @@ -27,8 +27,42 @@ Extension [ <persistent> extension #72 mysql_xdevapi version 8.0.2 ] {      }    } -  - Constants [1] { -    Constant [ integer XMYSQLND_CLIENT_SSL ] { 2048 } +  - Constants [35] { +    Constant [ integer MYSQLX_CLIENT_SSL ] { 2048 } +    Constant [ integer MYSQLX_TYPE_DECIMAL ] { 0 } +    Constant [ integer MYSQLX_TYPE_TINY ] { 1 } +    Constant [ integer MYSQLX_TYPE_SHORT ] { 2 } +    Constant [ integer MYSQLX_TYPE_SMALLINT ] { 17 } +    Constant [ integer MYSQLX_TYPE_MEDIUMINT ] { 18 } +    Constant [ integer MYSQLX_TYPE_INT ] { 19 } +    Constant [ integer MYSQLX_TYPE_BIGINT ] { 20 } +    Constant [ integer MYSQLX_TYPE_LONG ] { 3 } +    Constant [ integer MYSQLX_TYPE_FLOAT ] { 4 } +    Constant [ integer MYSQLX_TYPE_DOUBLE ] { 5 } +    Constant [ integer MYSQLX_TYPE_NULL ] { 6 } +    Constant [ integer MYSQLX_TYPE_TIMESTAMP ] { 7 } +    Constant [ integer MYSQLX_TYPE_LONGLONG ] { 8 } +    Constant [ integer MYSQLX_TYPE_INT24 ] { 9 } +    Constant [ integer MYSQLX_TYPE_DATE ] { 10 } +    Constant [ integer MYSQLX_TYPE_TIME ] { 11 } +    Constant [ integer MYSQLX_TYPE_DATETIME ] { 12 } +    Constant [ integer MYSQLX_TYPE_YEAR ] { 13 } +    Constant [ integer MYSQLX_TYPE_NEWDATE ] { 14 } +    Constant [ integer MYSQLX_TYPE_ENUM ] { 247 } +    Constant [ integer MYSQLX_TYPE_SET ] { 248 } +    Constant [ integer MYSQLX_TYPE_TINY_BLOB ] { 249 } +    Constant [ integer MYSQLX_TYPE_MEDIUM_BLOB ] { 250 } +    Constant [ integer MYSQLX_TYPE_LONG_BLOB ] { 251 } +    Constant [ integer MYSQLX_TYPE_BLOB ] { 252 } +    Constant [ integer MYSQLX_TYPE_VAR_STRING ] { 253 } +    Constant [ integer MYSQLX_TYPE_STRING ] { 254 } +    Constant [ integer MYSQLX_TYPE_CHAR ] { 1 } +    Constant [ integer MYSQLX_TYPE_BYTES ] { 21 } +    Constant [ integer MYSQLX_TYPE_INTERVAL ] { 247 } +    Constant [ integer MYSQLX_TYPE_GEOMETRY ] { 255 } +    Constant [ integer MYSQLX_TYPE_JSON ] { 245 } +    Constant [ integer MYSQLX_TYPE_NEWDECIMAL ] { 246 } +    Constant [ integer MYSQLX_TYPE_BIT ] { 16 }    }    - Functions { @@ -459,7 +493,7 @@ Extension [ <persistent> extension #72 mysql_xdevapi version 8.0.2 ] {      Class [ <internal:mysql_xdevapi> final class mysql_xdevapi\Driver ] {        - Constants [1] { -        Constant [ public string version ] { 8.0.2 } +        Constant [ public string version ] { 8.0.3 }        }        - Static properties [0] { @@ -944,7 +978,7 @@ Extension [ <persistent> extension #72 mysql_xdevapi version 8.0.2 ] {          Property [ <default> public $name ]        } -      - Methods [12] { +      - Methods [16] {          Method [ <internal:mysql_xdevapi, ctor> private method __construct ] {          } @@ -1006,6 +1040,36 @@ Extension [ <persistent> extension #72 mysql_xdevapi version 8.0.2 ] {            }          } +        Method [ <internal:mysql_xdevapi> public method getOne ] { + +          - Parameters [1] { +            Parameter #0 [ <required> string $id ] +          } +        } + +        Method [ <internal:mysql_xdevapi> public method replaceOne ] { + +          - Parameters [2] { +            Parameter #0 [ <required> string $id ] +            Parameter #1 [ <required> $doc ] +          } +        } + +        Method [ <internal:mysql_xdevapi> public method addOrReplaceOne ] { + +          - Parameters [2] { +            Parameter #0 [ <required> string $id ] +            Parameter #1 [ <required> $doc ] +          } +        } + +        Method [ <internal:mysql_xdevapi> public method removeOne ] { + +          - Parameters [1] { +            Parameter #0 [ <required> string $id ] +          } +        } +          Method [ <internal:mysql_xdevapi> public method createIndex ] {            - Parameters [2] { @@ -1084,7 +1148,7 @@ Extension [ <persistent> extension #72 mysql_xdevapi version 8.0.2 ] {        }      } -    Class [ <internal:mysql_xdevapi> class mysql_xdevapi\NodeCollectionFind implements mysql_xdevapi\Executable, mysql_xdevapi\CrudOperationBindable, mysql_xdevapi\CrudOperationLimitable, mysql_xdevapi\CrudOperationSkippable, mysql_xdevapi\CrudOperationSortable ] { +    Class [ <internal:mysql_xdevapi> class mysql_xdevapi\NodeCollectionFind implements mysql_xdevapi\Executable, mysql_xdevapi\CrudOperationBindable, mysql_xdevapi\CrudOperationLimitable, mysql_xdevapi\CrudOperationSortable ] {        - Constants [0] {        } @@ -1098,7 +1162,7 @@ Extension [ <persistent> extension #72 mysql_xdevapi version 8.0.2 ] {        - Properties [0] {        } -      - Methods [9] { +      - Methods [11] {          Method [ <internal:mysql_xdevapi, ctor> private method __construct ] {          } @@ -1144,13 +1208,25 @@ Extension [ <persistent> extension #72 mysql_xdevapi version 8.0.2 ] {            }          } -        Method [ <internal:mysql_xdevapi, prototype mysql_xdevapi\CrudOperationSkippable> public method skip ] { +        Method [ <internal:mysql_xdevapi> public method skip ] {            - Parameters [1] {              Parameter #0 [ <required> integer $position ]            }          } +        Method [ <internal:mysql_xdevapi> public method lockShared ] { + +          - Parameters [0] { +          } +        } + +        Method [ <internal:mysql_xdevapi> public method lockExclusive ] { + +          - Parameters [0] { +          } +        } +          Method [ <internal:mysql_xdevapi, prototype mysql_xdevapi\Executable> public method execute ] {            - Parameters [0] { @@ -2488,7 +2564,7 @@ Extension [ <persistent> extension #72 mysql_xdevapi version 8.0.2 ] {        - Properties [0] {        } -      - Methods [9] { +      - Methods [11] {          Method [ <internal:mysql_xdevapi, ctor> private method __construct ] {          } @@ -2541,6 +2617,18 @@ Extension [ <persistent> extension #72 mysql_xdevapi version 8.0.2 ] {            }          } +        Method [ <internal:mysql_xdevapi> public method lockShared ] { + +          - Parameters [0] { +          } +        } + +        Method [ <internal:mysql_xdevapi> public method lockExclusive ] { + +          - Parameters [0] { +          } +        } +          Method [ <internal:mysql_xdevapi, prototype mysql_xdevapi\Executable> public method execute ] {            - Parameters [0] { diff --git a/php-pecl-mysql-xdevapi.spec b/php-pecl-mysql-xdevapi.spec index 345108f..819bb7e 100644 --- a/php-pecl-mysql-xdevapi.spec +++ b/php-pecl-mysql-xdevapi.spec @@ -20,8 +20,8 @@  Summary:        MySQL database access functions  Name:           %{?sub_prefix}php-pecl-mysql-xdevapi -Version:        8.0.2 -Release:        2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Version:        8.0.3 +Release:        1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}  License:        PHP  Group:          Development/Languages @@ -301,6 +301,9 @@ fi  %changelog +* Fri Nov  3 2017 Remi Collet <remi@remirepo.net> - 8.0.3-1 +- Update to 8.0.3 (alpha) +  * Tue Jul 18 2017 Remi Collet <remi@remirepo.net> - 8.0.2-2  - rebuild for PHP 7.2.0beta1 new API | 
