mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-11-03 00:14:12 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			24 lines
		
	
	
		
			864 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			864 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'"
 | 
						|
  }],
 | 
						|
  "tags": ["createuuid", "generates", "method", "unique", "quuid", "identifier", "row"]
 | 
						|
}
 |