Provides functions to describe fields. More...
Import Statement: | import ArcGIS.AppFramework.Sql 1.0 |
Properties
- count : int
Signals
- changed()
Methods
- SqlField field(string name)
- SqlField field(int index)
- string fieldName(int index)
- int indexOf(string name)
Detailed Description
The SqlFieldList component is used to help working with fields of a database record from a database table or query (such as SqlTable, SqlTableModel, SqlQuery, or SqlQueryModel).
Property Documentation
Signal Documentation
Signal emitted when the SqlFieldList object called on by SqlTable's fields property has changed.
Note: The corresponding handler is onChanged
.
Method Documentation
Returns the field called name. If no such field exists, this method returns an SqlField object with isValid set to false.
The name parameter
The name of the field to return.
Returns the field at the given index position. If the index is out of range, returns an empty string.
The index parameter
The index number of the field to return.
Returns the name of the field at the given index position. If the field does not exist, this method returns an empty string.
The index parameter
The index number of the field to return the name of.
Returns the position of the field with the given name within the index. If no field with this name can be found, returns -1. If more than one field name matches, the first one is returned. Be aware that field names are not case-sensitive.
The name parameter
The name of the field to return the index of.