Yaml_Add


Yaml_Add can be used to create new key and a value pair in the database.

Yaml_Add(pYaml, Key, Value)

Parameters

Parameter

Description

pYaml

This is the pointer previously returned from Yaml_Init().

Key

Key to set value for. You can use dot syntax as well.

Value

Value to store for above key.

Return Value

None.

Remarks

If a section does not exist it will be created automatically. Indexing service will be updated as well.

Related

Simple Yaml Parser, Yaml_Init, Yaml_Get, Yaml_Set, Yaml_Insert, Yaml_Clone, Yaml_Delete, Yaml_DeleteAll, Yaml_Exist, Yaml_Save

Example

; None.