Skip to content
Browse files
Add missing API break documentation
  • Loading branch information
nyalldawson committed Nov 7, 2016
1 parent 02ea2d7 commit 35a29d85c008c93f718d6c7678c294ea1cc77fb2
Showing 1 changed file with 4 additions and 1 deletion.
@@ -1447,7 +1447,10 @@ capabilities have been removed, as they were unused and had no effect.
- capabilities() now returns a typesafe QgsVectorDataProvider::Capabilities object, not an integer.
- convertToProviderType() now takes a geometry reference, not a pointer.
- geometryType() has been renamed to wkbType() to be in line with QgsVectorLayer

- The behaviour of defaultValue() has changed from 2.x. In 2.x, defaultValue() would return a SQL
clause fragment which must be evaluated by the provider in order to calculate the default value. In
QGIS 3.0 defaultValue() only returns literal, constant defaultValues. A new method defaultValueClause
has been added which returns the SQL clause fragments which must be evaluated by the provider itself.

QgsVectorLayer {#qgis_api_break_3_0_QgsVectorLayer}

0 comments on commit 35a29d8

Please sign in to comment.