ArkData FAQs
How do I view detailed SQL execution error logs of an RDB store?
Call on('sqliteErrorOccurred') to obtain the error logs that occur during SQL execution.
How do I view SQL statements generated by an RDB store?
Call relationalStore.getInsertSqlInfo to obtain the SQL statement used to insert data.
Call relationalStore.getUpdateSqlInfo to obtain the SQL statement used to update data.
Call relationalStore.getDeleteSqlInfo to obtain the SQL statement used to delete data.
Call relationalStore.getQuerySqlInfo to obtain the SQL statement used to query data.
你可能感兴趣的鸿蒙文章
openharmony 鸿蒙 app-data-persistence-overview
openharmony 鸿蒙 native-unified-data-management-framework-guidelines
openharmony 鸿蒙 native-vector-store-guidelines
openharmony 鸿蒙 data-sync-of-kv-store
openharmony 鸿蒙 data-sync-of-distributed-data-object
openharmony 鸿蒙 unified-data-channels
openharmony 鸿蒙 share-data-by-silent-access-sys
openharmony 鸿蒙 sync-app-data-across-devices-overview