public static Task AddColumnIfNotExistsAsync(this sqlite3 db, string table, string column, string type)
 => Task.Run(() => AddColumnIfNotExists(db, table, column, type));
Exemple #2
0
 public static Error sqlite3_close(sqlite3 db)
 {
     GC.SuppressFinalize(db);
     return((Error)provider.sqlite3_close(db.Handle));
 }
 public static Task CreateIndexIfNotExistsAsync(this sqlite3 db, string table, string column)
 => Task.Run(() => CreateIndexIfNotExists(db, table, column));
 public static Task <bool> TableColumnExistsAsync(this sqlite3 db, string table, string column)
 => Task.Run(() => TableColumnExistsAsync(db, table, column));
 public static Task ExecuteAsync(this sqlite3 db, Query query)
 => Task.Run(() => Execute(db, query));
 public static Task <RowData> QuerySingleAsync(this sqlite3 db, Query query)
 => Task.Run(() => QuerySingle(db, query));
 public static Task QueryReaderAsync(this sqlite3 db, Query query, Action <RowData> onRow)
 => Task.Run(() => QueryReader(db, query, onRow));