mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
19 lines
801 B
Plaintext
19 lines
801 B
Plaintext
{
|
|
"name": "uuid",
|
|
"type": "function",
|
|
"groups": ["Record and Attributes"],
|
|
"description": "Generates a Universally Unique Identifier (UUID) for each row using the Qt <a href='https://doc.qt.io/qt-5/quuid.html#createUuid'>QUuid::createUuid</a> method.",
|
|
"arguments": [
|
|
{
|
|
"arg": "format",
|
|
"optional": true,
|
|
"default": "'WithBraces'",
|
|
"description": "The format, as the UUID will be formatted. 'WithBraces', 'WithoutBraces' or 'Id128'."
|
|
}
|
|
],
|
|
"examples": [
|
|
{ "expression":"uuid()", "returns":"'{0bd2f60f-f157-4a6d-96af-d4ba4cb366a1}'" },
|
|
{ "expression": "uuid('WithoutBraces')", "returns": "'0bd2f60f-f157-4a6d-96af-d4ba4cb366a1'" },
|
|
{ "expression": "uuid('Id128')", "returns": "'0bd2f60ff1574a6d96afd4ba4cb366a1'" }
|
|
]
|
|
} |