aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Data/TempStoreMode.cs
blob: d2427ce4780d3988d0cfef5f944e9c81c820de32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
namespace Emby.Server.Implementations.Data;

/// <summary>
/// Storage mode used by temporary database files.
/// </summary>
public enum TempStoreMode
{
    /// <summary>
    /// The compile-time C preprocessor macro SQLITE_TEMP_STORE
    /// is used to determine where temporary tables and indices are stored.
    /// </summary>
    Default = 0,

    /// <summary>
    /// Temporary tables and indices are stored in a file.
    /// </summary>
    File = 1,

    /// <summary>
    /// Temporary tables and indices are kept in as if they were pure in-memory databases memory.
    /// </summary>
    Memory = 2
}