2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 18:59:33 +00:00

93_DbRep: Commandref edited

git-svn-id: https://svn.fhem.de/fhem/trunk@26940 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
nasseeder1 2023-01-01 20:22:51 +00:00
parent 77f19ce876
commit 11443dd00c

View File

@ -3,7 +3,7 @@
########################################################################################################## ##########################################################################################################
# 93_DbRep.pm # 93_DbRep.pm
# #
# (c) 2016-2022 by Heiko Maaz # (c) 2016-2023 by Heiko Maaz
# e-mail: Heiko dot Maaz at t-online dot de # e-mail: Heiko dot Maaz at t-online dot de
# #
# This Module can be used to select and report content of databases written by 93_DbLog module # This Module can be used to select and report content of databases written by 93_DbLog module
@ -55,6 +55,7 @@ no if $] >= 5.017011, warnings => 'experimental::smartmatch';
# Version History intern # Version History intern
my %DbRep_vNotesIntern = ( my %DbRep_vNotesIntern = (
"8.50.10" => "01.01.2023 Commandref edited ",
"8.50.9" => "28.12.2022 Commandref changed to a id-links ", "8.50.9" => "28.12.2022 Commandref changed to a id-links ",
"8.50.8" => "21.12.2022 add call to DbRep_sqlCmd, DbRep_sqlCmdBlocking ", "8.50.8" => "21.12.2022 add call to DbRep_sqlCmd, DbRep_sqlCmdBlocking ",
"8.50.7" => "17.12.2022 Commandref edited ", "8.50.7" => "17.12.2022 Commandref edited ",
@ -15439,7 +15440,9 @@ sub dbval {
In that case the device names are derived from the device specification and the existing In that case the device names are derived from the device specification and the existing
devices in FHEM before carry out the SQL selection. <br> devices in FHEM before carry out the SQL selection. <br>
If the the device, list or device specification is prepended by "EXCLUDE=", If the the device, list or device specification is prepended by "EXCLUDE=",
the devices are excluded from database selection. the devices are excluded from database selection. <br>
The database selection is executed as a logical AND operation of "device" and the attribute
<a href="#DbRep-attr-reading">reading</a>.
<br><br> <br><br>
<ul> <ul>
@ -15743,7 +15746,9 @@ sub bdump {
More than one reading can be specified by a comma separated list. <br> More than one reading can be specified by a comma separated list. <br>
SQL wildcard (%) can be used. <br> SQL wildcard (%) can be used. <br>
If the reading or the reading list is prepended by "EXCLUDE=", those readings are not If the reading or the reading list is prepended by "EXCLUDE=", those readings are not
included. included. <br>
The database selection is executed as a logical AND operation of "reading" and the attribute
<a href="#DbRep-attr-device">device</a>.
<br><br> <br><br>
<ul> <ul>
@ -18302,12 +18307,14 @@ sub dbval {
</li> <br> </li> <br>
<a id="DbRep-attr-device"></a> <a id="DbRep-attr-device"></a>
<li><b>device </b> - Abgrenzung der DB-Selektionen auf ein bestimmtes oder mehrere Devices. <br> <li><b>device </b> - Abgrenzung der DB-Selektionen auf ein bestimmtes oder mehrere Devices. <br>
Es können Geräte-Spezifikationen (devspec) angegeben werden. <br> Es können Geräte-Spezifikationen (devspec) angegeben werden. <br>
In diesem Fall werden die Devicenamen vor der Selektion aus der Geräte-Spezifikationen und den aktuell in FHEM In diesem Fall werden die Devicenamen vor der Selektion aus der Geräte-Spezifikationen und den aktuell in FHEM
vorhandenen Devices aufgelöst. <br> vorhandenen Devices aufgelöst. <br>
Wird dem Device bzw. der Device-Liste oder Geräte-Spezifikation ein "EXCLUDE=" vorangestellt, Wird dem Device bzw. der Device-Liste oder Geräte-Spezifikation ein "EXCLUDE=" vorangestellt,
werden diese Devices von der Selektion ausgeschlossen. werden diese Devices von der Selektion ausgeschlossen. <br>
Die Datenbankselektion wird als logische UND-Verknüpfung aus "device" und dem Attribut
<a href="#DbRep-attr-reading">reading</a> ausgeführt.
<br><br> <br><br>
<ul> <ul>
@ -18614,7 +18621,9 @@ sub bdump {
Mehrere Readings werden als Komma separierte Liste angegeben. Mehrere Readings werden als Komma separierte Liste angegeben.
Es können SQL Wildcard (%) verwendet werden. <br> Es können SQL Wildcard (%) verwendet werden. <br>
Wird dem Reading bzw. der Reading-Liste ein "EXCLUDE=" vorangestellt, werden diese Readings Wird dem Reading bzw. der Reading-Liste ein "EXCLUDE=" vorangestellt, werden diese Readings
nicht inkludiert. nicht inkludiert. <br>
Die Datenbankselektion wird als logische UND Verknüpfung aus "reading" und dem Attribut
<a href="#DbRep-attr-device">device</a> ausgeführt.
<br><br> <br><br>
<ul> <ul>