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++ 编程 » 应用程序开发 » 使用 UltraLite C++ API 开发应用程序 » 使用 Table API 访问数据

 

UltraLite 模式

UltraLite 模式确定如何使用缓冲区中的值。您可以将 UltraLite 模式设置为以下模式之一:

  • 插入模式   调用 insert 方法时,将缓冲区中的数据作为新行添加到表中。

  • 更新模式   调用 update 方法时,缓冲区中的数据将替换当前行。

  • 查找模式   在调用查找方法之一时,会定位其值与缓冲区中的数据完全匹配的行。

  • 查寻模式   调用查寻方法之一时,会定位其值与缓冲区中的数据匹配或大于缓冲区中的数据的行。

通过调用用于设置模式的相应方法即可设置该模式。例如,InsertBegin、BeginUpdate、FindBegin 等。