Methods
(async, static) createObj() → {Promise.<RecordSet>}
构造一个新的 RecordSet 对象。
- Source:
Returns:
RecordSet 对象
- Type
- Promise.<RecordSet>
(async, static) get(geom, rcd, info) → {Promise}
取对象信息
Parameters:
| Name | Type | Description |
|---|---|---|
geom |
对象几何信息 | |
rcd |
对象属性信息 | |
info |
对象的图形信息 |
- Source:
Returns:
成功:>0;失败:<=0
- Type
- Promise
(async, static) getAtt() → {Promise.<Record>}
获取属性
- Source:
Returns:
属性信息
- Type
- Promise.<Record>
(async, static) getCurrentID() → {Promise}
获取当前记录ID
- Source:
Returns:
当前记录ID
- Type
- Promise
(async, static) getFields() → {Promise.<Fields>}
获取属性结构
- Source:
Returns:
属性结构
- Type
- Promise.<Fields>
(async, static) getGeometry() → {Promise.<Geometry>}
获取几何
- Source:
Returns:
几何
- Type
- Promise.<Geometry>
(async, static) getGeometryType()
取几何类型或注记类型
- Source:
Returns:
几何类型或注记类型
(async, static) getInfo() → {Promise.<GeomInfo>}
获取几何图形参数
- Source:
Returns:
图形参数
- Type
- Promise.<GeomInfo>
(async, static) getRect(rc) → {Promise.<void>}
取要素矩形范围
Parameters:
| Name | Type | Description |
|---|---|---|
rc |
矩形范围对象 |
- Source:
Returns:
- Type
- Promise.<void>
(async, static) isBOF() → {Promise.<Bool>}
判断当前记录的位置是否在记录集中第一条记录的前面(当然第一条记录的前面是没有数据的),如果是返回 true;否则返回 false。
- Source:
Returns:
当前记录是否在第一条记录的前面
- Type
- Promise.<Bool>
(async, static) isEOF() → {Promise.<Bool>}
判断当前记录的位置是否在记录集中的最后一条记录的后面,如果是,返回 true;否则返回 false。
- Source:
Returns:
当前记录是否在最后一条记录的后面
- Type
- Promise.<Bool>
(async, static) moveFirst() → {Promise}
光标移到最前
- Source:
Returns:
光标位置 成功:>0;失败:<=0
- Type
- Promise
(async, static) moveNext() → {Promise}
光标移到下一条
- Source:
Returns:
光标位置 成功:>0;失败:<=0
- Type
- Promise