mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
Update documentation and sip binding
This commit is contained in:
parent
344b964709
commit
bb1738dcbb
@ -1432,6 +1432,9 @@ Assembles mUpdatedFields considering provider fields, joined fields and added fi
|
||||
|
||||
QMap< QgsFieldConstraints::Constraint, QgsFieldConstraints::ConstraintStrength> fieldConstraintsAndStrength( int fieldIndex ) const;
|
||||
%Docstring
|
||||
Returns a map of constraint with their strength for a specific field of the layer.
|
||||
\param fieldIndex field index
|
||||
.. versionadded:: 3.0
|
||||
:rtype: QMap< QgsFieldConstraints.Constraint, QgsFieldConstraints.ConstraintStrength>
|
||||
%End
|
||||
|
||||
|
@ -1347,6 +1347,11 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer, public QgsExpressionConte
|
||||
*/
|
||||
QgsFieldConstraints::Constraints fieldConstraints( int fieldIndex ) const;
|
||||
|
||||
/**
|
||||
* Returns a map of constraint with their strength for a specific field of the layer.
|
||||
* \param fieldIndex field index
|
||||
* \since QGIS 3.0
|
||||
*/
|
||||
QMap< QgsFieldConstraints::Constraint, QgsFieldConstraints::ConstraintStrength> fieldConstraintsAndStrength( int fieldIndex ) const;
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user