You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sqlite3/lib/src/constants.dart
+16-1
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,7 @@
10
10
///
11
11
/// See also: SQLITE_IOERR_READ | extended result codes,
12
12
/// sqlite3_vtab_on_conflictstatic const int ) SQLITE_ROLLBACK | result codes.
13
+
/// {@category common}
13
14
finalclassSqlError {
14
15
/// Successful result
15
16
staticconstintSQLITE_OK=0;
@@ -112,6 +113,7 @@ final class SqlError {
112
113
/// Note that the primary result code is always a part of the extended result code. Given a full 32-bit extended result code, the application can always find the corresponding primary result code merely by extracting the least significant 8 bits of the extended result code.
113
114
///
114
115
/// All extended result codes are also error codes. Hence the terms "extended result code" and "extended error code" are interchangeable.
116
+
/// {@category common}
115
117
finalclassSqlExtendedError {
116
118
/// The sqlite3_load_extension() interface loads an extension into a single database connection.
117
119
///
@@ -374,6 +376,7 @@ final class SqlExtendedError {
374
376
/// These bit values are intended for use in the
375
377
/// 3rd parameter to the [sqlite3_open_v2static const int )] interface and
///The SQLITE_PREPARE_PERSISTENT flag is a hint to the query planner that the prepared statement will be retained for a long time and probably reused many times.
442
447
/// Without this flag, sqlite3_prepare_v3static const int ) and sqlite3_prepare16_v3static const int ) assume that the prepared statement will be used just once or at most a few times and then destroyed using sqlite3_finalizestatic const int ) relatively soon.
/// - this C file: https://github.com/simolus3/sqlite3.dart/blob/main/sqlite3/test/ffi/test_extension.c
61
65
/// - this Dart test loading it: https://github.com/simolus3/sqlite3.dart/blob/a9a379494c6b8d58a3c31cf04fe16e83b49130f1/sqlite3/test/ffi/sqlite3_test.dart#L35
62
66
/// - Or, alternatively, this Flutter example: https://github.com/simolus3/sqlite3.dart/tree/main/sqlite3/example/custom_extension
67
+
///
68
+
/// {@category native}
63
69
abstractinterfaceclassSqliteExtension {
64
70
/// A sqlite extension having the given [extensionEntrypoint] as a function
65
71
/// pointer.
@@ -95,6 +101,8 @@ abstract interface class SqliteExtension {
95
101
///
96
102
/// See [CommonDatabase] for the methods that are available on both the FFI and
97
103
/// the WebAssembly implementation.
104
+
///
105
+
/// {@category native}
98
106
abstractclassDatabaseextendsCommonDatabase {
99
107
/// The native database connection handle from sqlite.
100
108
///
@@ -132,6 +140,8 @@ abstract class Database extends CommonDatabase {
0 commit comments