Changes
Page history
Fixed wrong example in oldb-tools article
authored
Oct 07, 2021
by
Marcus Schilling
Show whitespace changes
Inline
Side-by-side
KnowledgeBase/CII.md
View page @
dd4a34a6
...
@@ -21,7 +21,7 @@ yum -y update elt-ciisrv-postinstall
...
@@ -21,7 +21,7 @@ yum -y update elt-ciisrv-postinstall
On DevEnv 3.5 inside ESO, and DevEnv 3.6+, there is nothing to do.
On DevEnv 3.5 inside ESO, and DevEnv 3.6+, there is nothing to do.
**
Postinstall
*
**Postinstall*
*
Afterwards, execute this command (as root):
Afterwards, execute this command (as root):
```
```
...
@@ -569,18 +569,18 @@ Type "help", "copyright", "credits" or "license" for more information.
...
@@ -569,18 +569,18 @@ Type "help", "copyright", "credits" or "license" for more information.
>>> oldb.create_data_point_by_value (Uri("cii.oldb:/ccs/tst/tmp1"), "my text")
>>> oldb.create_data_point_by_value (Uri("cii.oldb:/ccs/tst/tmp1"), "my text")
```
```
… and, to
delete
a datapoint:
… and, to
read
a datapoint:
```
```
>>>
elt.
oldb.
CiiOldbGlobal.set_write_enabled(Tr
ue)
>>> oldb.
get_data_point(Uri("cii.oldb:/ccs/tst/tmp1")).read_value().get_val
ue
(
)
>>> oldb.create_data_point_by_value (Uri("cii.oldb:/ccs/tst/tmp1"), "
my text
")
'
my text
'
```
```
… and, to
read
a datapoint:
… and, to
delete
a datapoint:
```
```
>>> oldb.
get_data_point(Uri("cii.oldb:/ccs/tst/tmp1")).read_value().get_val
ue
(
)
>>>
elt.
oldb.
CiiOldbGlobal.set_write_enabled(Tr
ue)
'
my text
'
>>> oldb.delete_data_point (Uri("cii.oldb:/ccs/tst/tmp1"), "
my text
")
```
```
...
...
...
...