Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (中文) » UltraLite - C 及 C++ 编程 » API 参考 » UltraLite C++ API 参考 » UltraLite_Table_iface 类

 

FindFirst 函数

根据当前索引,向前扫描整个表以执行精确匹配查寻。

语法
bool UltraLite_Table_iface::FindFirst(
  ul_column_num ncols
)
参数
  • ncols   对于复合索引,是指在查找中使用的列数。

注释

要指定要搜索的值,请为索引中的每一列设置列值。游标位于第一个与索引值完全匹配的行上。如果没有与索引值匹配的行,则游标位置为 AfterLast(),并且此函数返回 false。