File tree Expand file tree Collapse file tree 12 files changed +84
-0
lines changed Expand file tree Collapse file tree 12 files changed +84
-0
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,8 @@ final class StatementTimeoutException extends ClientException
12
12
{
13
13
/**
14
14
* The database connection ID that executed the SQL statement.
15
+ *
16
+ * @var int|null
15
17
*/
16
18
private $ dbConnectionId ;
17
19
Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ class BatchExecuteStatementResponse extends Result
15
15
{
16
16
/**
17
17
* The execution results of each batch entry.
18
+ *
19
+ * @var UpdateResult[]
18
20
*/
19
21
private $ updateResults ;
20
22
Original file line number Diff line number Diff line change @@ -12,6 +12,8 @@ class BeginTransactionResponse extends Result
12
12
{
13
13
/**
14
14
* The transaction ID of the transaction started by the call.
15
+ *
16
+ * @var string|null
15
17
*/
16
18
private $ transactionId ;
17
19
Original file line number Diff line number Diff line change @@ -12,6 +12,8 @@ class CommitTransactionResponse extends Result
12
12
{
13
13
/**
14
14
* The status of the commit operation.
15
+ *
16
+ * @var string|null
15
17
*/
16
18
private $ transactionStatus ;
17
19
Original file line number Diff line number Diff line change @@ -15,17 +15,23 @@ class ExecuteStatementResponse extends Result
15
15
{
16
16
/**
17
17
* The records returned by the SQL statement. This field is blank if the `formatRecordsAs` parameter is set to `JSON`.
18
+ *
19
+ * @var Field[][]
18
20
*/
19
21
private $ records ;
20
22
21
23
/**
22
24
* Metadata for the columns included in the results. This field is blank if the `formatRecordsAs` parameter is set to
23
25
* `JSON`.
26
+ *
27
+ * @var ColumnMetadata[]
24
28
*/
25
29
private $ columnMetadata ;
26
30
27
31
/**
28
32
* The number of records updated by the request.
33
+ *
34
+ * @var int|null
29
35
*/
30
36
private $ numberOfRecordsUpdated ;
31
37
@@ -36,6 +42,8 @@ class ExecuteStatementResponse extends Result
36
42
* href="https://www.postgresql.org/docs/10/dml-returning.html">Returning Data From Modified Rows</a>
37
43
* in the PostgreSQL documentation.</p> </note>
38
44
* ```.
45
+ *
46
+ * @var Field[]
39
47
*/
40
48
private $ generatedFields ;
41
49
@@ -45,6 +53,8 @@ class ExecuteStatementResponse extends Result
45
53
*
46
54
* The size limit for this field is currently 10 MB. If the JSON-formatted string representing the result set requires
47
55
* more than 10 MB, the call returns an error.
56
+ *
57
+ * @var string|null
48
58
*/
49
59
private $ formattedRecords ;
50
60
Original file line number Diff line number Diff line change @@ -12,6 +12,8 @@ class RollbackTransactionResponse extends Result
12
12
{
13
13
/**
14
14
* The status of the rollback operation.
15
+ *
16
+ * @var string|null
15
17
*/
16
18
private $ transactionStatus ;
17
19
Original file line number Diff line number Diff line change @@ -9,26 +9,36 @@ final class ArrayValue
9
9
{
10
10
/**
11
11
* An array of Boolean values.
12
+ *
13
+ * @var bool[]|null
12
14
*/
13
15
private $ booleanValues ;
14
16
15
17
/**
16
18
* An array of integers.
19
+ *
20
+ * @var int[]|null
17
21
*/
18
22
private $ longValues ;
19
23
20
24
/**
21
25
* An array of floating-point numbers.
26
+ *
27
+ * @var float[]|null
22
28
*/
23
29
private $ doubleValues ;
24
30
25
31
/**
26
32
* An array of strings.
33
+ *
34
+ * @var string[]|null
27
35
*/
28
36
private $ stringValues ;
29
37
30
38
/**
31
39
* An array of arrays.
40
+ *
41
+ * @var ArrayValue[]|null
32
42
*/
33
43
private $ arrayValues ;
34
44
Original file line number Diff line number Diff line change @@ -9,71 +9,99 @@ final class ColumnMetadata
9
9
{
10
10
/**
11
11
* The name of the column.
12
+ *
13
+ * @var string|null
12
14
*/
13
15
private $ name ;
14
16
15
17
/**
16
18
* The type of the column.
19
+ *
20
+ * @var int|null
17
21
*/
18
22
private $ type ;
19
23
20
24
/**
21
25
* The database-specific data type of the column.
26
+ *
27
+ * @var string|null
22
28
*/
23
29
private $ typeName ;
24
30
25
31
/**
26
32
* The label for the column.
33
+ *
34
+ * @var string|null
27
35
*/
28
36
private $ label ;
29
37
30
38
/**
31
39
* The name of the schema that owns the table that includes the column.
40
+ *
41
+ * @var string|null
32
42
*/
33
43
private $ schemaName ;
34
44
35
45
/**
36
46
* The name of the table that includes the column.
47
+ *
48
+ * @var string|null
37
49
*/
38
50
private $ tableName ;
39
51
40
52
/**
41
53
* A value that indicates whether the column increments automatically.
54
+ *
55
+ * @var bool|null
42
56
*/
43
57
private $ isAutoIncrement ;
44
58
45
59
/**
46
60
* A value that indicates whether an integer column is signed.
61
+ *
62
+ * @var bool|null
47
63
*/
48
64
private $ isSigned ;
49
65
50
66
/**
51
67
* A value that indicates whether the column contains currency values.
68
+ *
69
+ * @var bool|null
52
70
*/
53
71
private $ isCurrency ;
54
72
55
73
/**
56
74
* A value that indicates whether the column is case-sensitive.
75
+ *
76
+ * @var bool|null
57
77
*/
58
78
private $ isCaseSensitive ;
59
79
60
80
/**
61
81
* A value that indicates whether the column is nullable.
82
+ *
83
+ * @var int|null
62
84
*/
63
85
private $ nullable ;
64
86
65
87
/**
66
88
* The precision value of a decimal number column.
89
+ *
90
+ * @var int|null
67
91
*/
68
92
private $ precision ;
69
93
70
94
/**
71
95
* The scale value of a decimal number column.
96
+ *
97
+ * @var int|null
72
98
*/
73
99
private $ scale ;
74
100
75
101
/**
76
102
* The type of the column.
103
+ *
104
+ * @var int|null
77
105
*/
78
106
private $ arrayBaseColumnType ;
79
107
Original file line number Diff line number Diff line change @@ -9,36 +9,50 @@ final class Field
9
9
{
10
10
/**
11
11
* A NULL value.
12
+ *
13
+ * @var bool|null
12
14
*/
13
15
private $ isNull ;
14
16
15
17
/**
16
18
* A value of Boolean data type.
19
+ *
20
+ * @var bool|null
17
21
*/
18
22
private $ booleanValue ;
19
23
20
24
/**
21
25
* A value of long data type.
26
+ *
27
+ * @var int|null
22
28
*/
23
29
private $ longValue ;
24
30
25
31
/**
26
32
* A value of double data type.
33
+ *
34
+ * @var float|null
27
35
*/
28
36
private $ doubleValue ;
29
37
30
38
/**
31
39
* A value of string data type.
40
+ *
41
+ * @var string|null
32
42
*/
33
43
private $ stringValue ;
34
44
35
45
/**
36
46
* A value of BLOB data type.
47
+ *
48
+ * @var string|null
37
49
*/
38
50
private $ blobValue ;
39
51
40
52
/**
41
53
* An array of values.
54
+ *
55
+ * @var ArrayValue|null
42
56
*/
43
57
private $ arrayValue ;
44
58
Original file line number Diff line number Diff line change @@ -18,12 +18,16 @@ final class ResultSetOptions
18
18
*
19
19
* > Conversion to Double or Long can result in roundoff errors due to precision loss. We recommend converting to
20
20
* > String, especially when working with currency values.
21
+ *
22
+ * @var DecimalReturnType::*|null
21
23
*/
22
24
private $ decimalReturnType ;
23
25
24
26
/**
25
27
* A value that indicates how a field of `LONG` type is represented. Allowed values are `LONG` and `STRING`. The default
26
28
* is `LONG`. Specify `STRING` if the length or precision of numeric values might cause truncation or rounding errors.
29
+ *
30
+ * @var LongReturnType::*|null
27
31
*/
28
32
private $ longReturnType ;
29
33
You can’t perform that action at this time.
0 commit comments