/// <summary>
 ///   The "optimize" command causes FTS3/4 to merge together all of its
 ///   inverted index b-trees into one large and complete b-tree.
 /// </summary>
 /// <typeparam name="T">The table to optimize.</typeparam>
 /// <param name="database">The database to use.</param>
 public static int Optimize <T>(this SqliteSession database)
 {
     return(database.Optimize(typeof(T)));
 }