Skip to content

Commit 35a29d8

Browse files
committedNov 7, 2016
Add missing API break documentation
1 parent 02ea2d7 commit 35a29d8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed
 

‎doc/api_break.dox

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1447,7 +1447,10 @@ capabilities have been removed, as they were unused and had no effect.
14471447
- capabilities() now returns a typesafe QgsVectorDataProvider::Capabilities object, not an integer.
14481448
- convertToProviderType() now takes a geometry reference, not a pointer.
14491449
- geometryType() has been renamed to wkbType() to be in line with QgsVectorLayer
1450-
1450+
- The behaviour of defaultValue() has changed from 2.x. In 2.x, defaultValue() would return a SQL
1451+
clause fragment which must be evaluated by the provider in order to calculate the default value. In
1452+
QGIS 3.0 defaultValue() only returns literal, constant defaultValues. A new method defaultValueClause
1453+
has been added which returns the SQL clause fragments which must be evaluated by the provider itself.
14511454

14521455

14531456
QgsVectorLayer {#qgis_api_break_3_0_QgsVectorLayer}

0 commit comments

Comments
 (0)
Please sign in to comment.