Skip to content

Commit

Permalink
Update to 2.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tobydox committed Jul 29, 2021
1 parent 5652075 commit 7c2257c
Show file tree
Hide file tree
Showing 191 changed files with 96,460 additions and 212 deletions.
1 change: 1 addition & 0 deletions InCore.CloudOfThings/CloudOfThingsClient.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ Methods
.. hlist::
:columns: 1

* :ref:`Object.deserializeProperties() <method_Object_deserializeProperties>`
* :ref:`Object.fromJson() <method_Object_fromJson>`
* :ref:`Object.toJson() <method_Object_toJson>`

Expand Down
1 change: 1 addition & 0 deletions InCore.CloudOfThings/CloudOfThingsDeviceManager.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ Methods
.. hlist::
:columns: 1

* :ref:`Object.deserializeProperties() <method_Object_deserializeProperties>`
* :ref:`Object.fromJson() <method_Object_fromJson>`
* :ref:`Object.toJson() <method_Object_toJson>`

Expand Down
1 change: 1 addition & 0 deletions InCore.CloudOfThings/CloudOfThingsDeviceRegistrator.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ Methods
.. hlist::
:columns: 1

* :ref:`Object.deserializeProperties() <method_Object_deserializeProperties>`
* :ref:`Object.fromJson() <method_Object_fromJson>`
* :ref:`Object.toJson() <method_Object_toJson>`

Expand Down
1 change: 1 addition & 0 deletions InCore.CloudOfThings/CloudOfThingsEventDatabase.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ Methods

* :ref:`clear() <method_CloudOfThingsEventDatabase_clear>`
* :ref:`datasetCount() <method_CloudOfThingsEventDatabase_datasetCount>`
* :ref:`Object.deserializeProperties() <method_Object_deserializeProperties>`
* :ref:`Object.fromJson() <method_Object_fromJson>`
* :ref:`Object.toJson() <method_Object_toJson>`

Expand Down
1 change: 1 addition & 0 deletions InCore.CloudOfThings/CloudOfThingsEventWriter.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ Methods
.. hlist::
:columns: 1

* :ref:`Object.deserializeProperties() <method_Object_deserializeProperties>`
* :ref:`Object.fromJson() <method_Object_fromJson>`
* :ref:`Object.toJson() <method_Object_toJson>`

Expand Down
1 change: 1 addition & 0 deletions InCore.CloudOfThings/CloudOfThingsMeasurementDatabase.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ Methods

* :ref:`clear() <method_CloudOfThingsMeasurementDatabase_clear>`
* :ref:`datasetCount() <method_CloudOfThingsMeasurementDatabase_datasetCount>`
* :ref:`Object.deserializeProperties() <method_Object_deserializeProperties>`
* :ref:`Object.fromJson() <method_Object_fromJson>`
* :ref:`Object.toJson() <method_Object_toJson>`

Expand Down
3 changes: 2 additions & 1 deletion InCore.CloudOfThings/CloudOfThingsMeasurementWriter.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,14 @@ Methods
+++++++

.. hlist::
:columns: 1
:columns: 2

* :ref:`DataObjectWriter.close() <method_DataObjectWriter_close>`
* :ref:`DataObjectWriter.open() <method_DataObjectWriter_open>`
* :ref:`DataObjectWriter.submit() <method_DataObjectWriter_submit>`
* :ref:`DataObjectWriter.sync() <method_DataObjectWriter_sync>`
* :ref:`DataObjectWriter.truncate() <method_DataObjectWriter_truncate>`
* :ref:`Object.deserializeProperties() <method_Object_deserializeProperties>`
* :ref:`Object.fromJson() <method_Object_fromJson>`
* :ref:`Object.toJson() <method_Object_toJson>`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ Methods
.. hlist::
:columns: 1

* :ref:`Object.deserializeProperties() <method_Object_deserializeProperties>`
* :ref:`Object.fromJson() <method_Object_fromJson>`
* :ref:`Object.toJson() <method_Object_toJson>`

Expand Down
23 changes: 23 additions & 0 deletions InCore.CloudOfThings/CloudOfThingsTransport.rst
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ Methods
* :ref:`connectToHost() <method_CloudOfThingsTransport_connectToHost>`
* :ref:`disconnectFromHost() <method_CloudOfThingsTransport_disconnectFromHost>`
* :ref:`requestPing() <method_CloudOfThingsTransport_requestPing>`
* :ref:`Object.deserializeProperties() <method_Object_deserializeProperties>`
* :ref:`Object.fromJson() <method_Object_fromJson>`
* :ref:`Object.toJson() <method_Object_toJson>`

Expand All @@ -59,6 +60,7 @@ Signals
* :ref:`disconnected() <signal_CloudOfThingsTransport_disconnected>`
* :ref:`errorOccurred() <signal_CloudOfThingsTransport_errorOccurred>`
* :ref:`pingResponseReceived() <signal_CloudOfThingsTransport_pingResponseReceived>`
* :ref:`sslErrorOccurred() <signal_CloudOfThingsTransport_sslErrorOccurred>`
* :ref:`Object.completed() <signal_Object_completed>`

Enumerations
Expand Down Expand Up @@ -379,6 +381,20 @@ This signal is emitted after :ref:`requestPing() <method_CloudOfThingsTransport_
This signal was introduced in InCore 2.0.



.. _signal_CloudOfThingsTransport_sslErrorOccurred:

.. index::
single: sslErrorOccurred

sslErrorOccurred(String errorString)
++++++++++++++++++++++++++++++++++++

This signal is emitted when an TLS/SSL-related error has occurred.

This signal was introduced in InCore 2.3.


Enumerations
************

Expand All @@ -399,6 +415,8 @@ This enumeration describes all errors which can occur in CloudOfThingsTransport
single: CloudOfThingsTransport.MissingTenant
.. index::
single: CloudOfThingsTransport.TransportError
.. index::
single: CloudOfThingsTransport.SslError
.. list-table::
:widths: auto
:header-rows: 1
Expand All @@ -422,6 +440,11 @@ This enumeration describes all errors which can occur in CloudOfThingsTransport
- ``2``
- The underlaying transport had an error: .

.. _enumitem_CloudOfThingsTransport_SslError:
* - ``CloudOfThingsTransport.SslError``
- ``3``
- Error while establishing TLS/SSL connection.


.. _enum_CloudOfThingsTransport_Protocol:

Expand Down
1 change: 1 addition & 0 deletions InCore.Database/Database.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ Methods
* :ref:`close() <method_Database_close>`
* :ref:`dropAllTables() <method_Database_dropAllTables>`
* :ref:`open() <method_Database_open>`
* :ref:`Object.deserializeProperties() <method_Object_deserializeProperties>`
* :ref:`Object.fromJson() <method_Object_fromJson>`
* :ref:`Object.toJson() <method_Object_toJson>`

Expand Down
1 change: 1 addition & 0 deletions InCore.Database/DatabaseEventTable.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ Methods
* :ref:`DataObjectWriter.submit() <method_DataObjectWriter_submit>`
* :ref:`DataObjectWriter.sync() <method_DataObjectWriter_sync>`
* :ref:`DataObjectWriter.truncate() <method_DataObjectWriter_truncate>`
* :ref:`Object.deserializeProperties() <method_Object_deserializeProperties>`
* :ref:`Object.fromJson() <method_Object_fromJson>`
* :ref:`Object.toJson() <method_Object_toJson>`

Expand Down
1 change: 1 addition & 0 deletions InCore.Database/DatabaseEventWriter.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ Methods
.. hlist::
:columns: 1

* :ref:`Object.deserializeProperties() <method_Object_deserializeProperties>`
* :ref:`Object.fromJson() <method_Object_fromJson>`
* :ref:`Object.toJson() <method_Object_toJson>`

Expand Down
1 change: 1 addition & 0 deletions InCore.Database/DatabaseExporter.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ Methods
:columns: 1

* :ref:`execute() <method_DatabaseExporter_execute>`
* :ref:`Object.deserializeProperties() <method_Object_deserializeProperties>`
* :ref:`Object.fromJson() <method_Object_fromJson>`
* :ref:`Object.toJson() <method_Object_toJson>`

Expand Down
1 change: 1 addition & 0 deletions InCore.Database/DatabaseFieldOptions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ Methods
.. hlist::
:columns: 1

* :ref:`Object.deserializeProperties() <method_Object_deserializeProperties>`
* :ref:`Object.fromJson() <method_Object_fromJson>`
* :ref:`Object.toJson() <method_Object_toJson>`

Expand Down
23 changes: 22 additions & 1 deletion InCore.Database/DatabaseQuery.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ Properties
* :ref:`limitPos <property_DatabaseQuery_limitPos>`
* :ref:`objects <property_DatabaseQuery_objects>`
* :ref:`orderBy <property_DatabaseQuery_orderBy>`
* :ref:`orderByNames <property_DatabaseQuery_orderByNames>`
* :ref:`results <property_DatabaseQuery_results>`
* :ref:`table <property_DatabaseQuery_table>`
* :ref:`Object.objectId <property_Object_objectId>`
Expand All @@ -43,6 +44,7 @@ Methods

* :ref:`execute() <method_DatabaseQuery_execute>`
* :ref:`pollResults() <method_DatabaseQuery_pollResults>`
* :ref:`Object.deserializeProperties() <method_Object_deserializeProperties>`
* :ref:`Object.fromJson() <method_Object_fromJson>`
* :ref:`Object.toJson() <method_Object_toJson>`

Expand Down Expand Up @@ -186,13 +188,32 @@ This property holds the list of objects which column should be queried. The orde
orderBy
+++++++

This property holds a list of columns to use for ordering (sorting) the rows. Currently only ``ascending`` ordering is done.
This property holds a list of columns to use for ordering (sorting) the rows. Only ``ascending`` ordering is done. See also :ref:`orderByNames <property_DatabaseQuery_orderByNames>`.

:**› Type**: :ref:`List <object_List>`\<:ref:`DataObject <object_DataObject>`>
:**› Signal**: orderByChanged()
:**› Attributes**: Readonly


.. _property_DatabaseQuery_orderByNames:

.. _signal_DatabaseQuery_orderByNamesChanged:

.. index::
single: orderByNames

orderByNames
++++++++++++

This property holds a string list of column ids to use for ordering (sorting) the rows. This will have no effect if :ref:`orderBy <property_DatabaseQuery_orderBy>` is set. The negative sign in front of an id indicates ``descending`` order. See also the example at the bottom.

This property was introduced in InCore 2.4.

:**› Type**: StringList
:**› Signal**: orderByNamesChanged()
:**› Attributes**: Writable


.. _property_DatabaseQuery_results:

.. _signal_DatabaseQuery_resultsChanged:
Expand Down
1 change: 1 addition & 0 deletions InCore.Database/DatabaseQueryFilter.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ Methods
.. hlist::
:columns: 1

* :ref:`Object.deserializeProperties() <method_Object_deserializeProperties>`
* :ref:`Object.fromJson() <method_Object_fromJson>`
* :ref:`Object.toJson() <method_Object_toJson>`

Expand Down
1 change: 1 addition & 0 deletions InCore.Database/DatabaseQueryWhere.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ Methods
.. hlist::
:columns: 1

* :ref:`Object.deserializeProperties() <method_Object_deserializeProperties>`
* :ref:`Object.fromJson() <method_Object_fromJson>`
* :ref:`Object.toJson() <method_Object_toJson>`

Expand Down
1 change: 1 addition & 0 deletions InCore.Database/DatabaseSqlQuery.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ Methods

* :ref:`execute() <method_DatabaseSqlQuery_execute>`
* :ref:`pollResults() <method_DatabaseSqlQuery_pollResults>`
* :ref:`Object.deserializeProperties() <method_Object_deserializeProperties>`
* :ref:`Object.fromJson() <method_Object_fromJson>`
* :ref:`Object.toJson() <method_Object_toJson>`

Expand Down
14 changes: 13 additions & 1 deletion InCore.Database/DatabaseTable.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ Methods
* :ref:`DataObjectWriter.submit() <method_DataObjectWriter_submit>`
* :ref:`DataObjectWriter.sync() <method_DataObjectWriter_sync>`
* :ref:`DataObjectWriter.truncate() <method_DataObjectWriter_truncate>`
* :ref:`Object.deserializeProperties() <method_Object_deserializeProperties>`
* :ref:`Object.fromJson() <method_Object_fromJson>`
* :ref:`Object.toJson() <method_Object_toJson>`

Expand Down Expand Up @@ -402,7 +403,7 @@ Example
.. code-block:: qml
import InCore.Foundation 2.0
import InCore.Database 2.0
import InCore.Database 2.4
Application {
Expand Down Expand Up @@ -444,6 +445,17 @@ Example
}
Polling on results { interval: 10000 }
},
DatabaseQuery {
// query only sensor3 data
objects: [sensor3]
// sort by sensor3 descending, then sensor2 ascending
orderByNames: ["-sensor3", "sensor2"]
// only get 10 values descending
limitPos: 0
limitLength: 10
}
]
}
Expand Down
1 change: 1 addition & 0 deletions InCore.Database/LocalDatabase.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ Methods
* :ref:`Database.close() <method_Database_close>`
* :ref:`Database.dropAllTables() <method_Database_dropAllTables>`
* :ref:`Database.open() <method_Database_open>`
* :ref:`Object.deserializeProperties() <method_Object_deserializeProperties>`
* :ref:`Object.fromJson() <method_Object_fromJson>`
* :ref:`Object.toJson() <method_Object_toJson>`

Expand Down
1 change: 1 addition & 0 deletions InCore.Database/MSSQLDatabase.rst
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ Methods
* :ref:`Database.close() <method_Database_close>`
* :ref:`Database.dropAllTables() <method_Database_dropAllTables>`
* :ref:`Database.open() <method_Database_open>`
* :ref:`Object.deserializeProperties() <method_Object_deserializeProperties>`
* :ref:`Object.fromJson() <method_Object_fromJson>`
* :ref:`Object.toJson() <method_Object_toJson>`

Expand Down
1 change: 1 addition & 0 deletions InCore.Database/MySQLDatabase.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ Methods
* :ref:`Database.close() <method_Database_close>`
* :ref:`Database.dropAllTables() <method_Database_dropAllTables>`
* :ref:`Database.open() <method_Database_open>`
* :ref:`Object.deserializeProperties() <method_Object_deserializeProperties>`
* :ref:`Object.fromJson() <method_Object_fromJson>`
* :ref:`Object.toJson() <method_Object_toJson>`

Expand Down
1 change: 1 addition & 0 deletions InCore.Database/NetworkDatabase.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ Methods
* :ref:`Database.close() <method_Database_close>`
* :ref:`Database.dropAllTables() <method_Database_dropAllTables>`
* :ref:`Database.open() <method_Database_open>`
* :ref:`Object.deserializeProperties() <method_Object_deserializeProperties>`
* :ref:`Object.fromJson() <method_Object_fromJson>`
* :ref:`Object.toJson() <method_Object_toJson>`

Expand Down

0 comments on commit 7c2257c

Please sign in to comment.