🍦 SwiftServe Get

Menu / storage.in-memory

Can Swift packages do in-memory database?

also known as: memory database · transient store

Built into the OS — no dependency

Apple frameworkiOSmacOSwatchOStvOSvisionOSLinuxCatalyst
CoreData built in as of Xcode 26.6
Details

NSInMemoryStoreType persistent store.

serves it · confidence 0.90 · as of Xcode 26.6

serves it · confidence 0.90 · as of Xcode 26.6

serves it · confidence 0.90 · as of Xcode 26.6

serves it · confidence 0.90 · as of Xcode 26.6

serves it · confidence 0.90 · as of Xcode 26.6

not served here · confidence 0.90 · as of Xcode 26.6

serves it · confidence 0.90 · as of Xcode 26.6

SwiftData built in as of Xcode 26.6
Details

In-memory container via ModelConfiguration(isStoredInMemoryOnly:).

serves it · confidence 0.90 · as of Xcode 26.6

serves it · confidence 0.90 · as of Xcode 26.6

serves it · confidence 0.90 · as of Xcode 26.6

serves it · confidence 0.90 · as of Xcode 26.6

serves it · confidence 0.90 · as of Xcode 26.6

not served here · confidence 0.90 · as of Xcode 26.6

serves it · confidence 0.90 · as of Xcode 26.6

PackageiOSmacOSwatchOStvOSvisionOSLinuxCatalyst
cache full menu as of 7.4.0
Details

serves it · confidence 0.90 · as of 7.4.0

serves it · confidence 0.90 · as of 7.4.0

serves it · confidence 0.85 · as of 7.4.0

serves it · confidence 0.90 · as of 7.4.0

serves it · confidence 0.85 · as of 7.4.0

serves it · confidence 0.70 · as of 7.4.0

  • MemoryStorage
    Source/Shared/Storage/MemoryStorage.swift:3
    View the line on GitHub →
    Surface digest resolves this decl present on linux (no gap); source is Foundation-only under Source/Shared with no os() guards, but there is no Linux CI or README corroboration - confidence reduced.
  • MemoryConfig
    Source/Shared/Configuration/MemoryConfig.swift:3
    View the line on GitHub →
  • MemoryStorage.setObject
    Source/Shared/Storage/MemoryStorage.swift:42
    View the line on GitHub →

serves it · confidence 0.85 · as of 7.4.0

fluent-sqlite-driver full menu as of 4.9.0
Details

serves it · confidence 0.90 · as of 4.9.0

  • SQLiteConfiguration.memory
    Sources/FluentSQLiteDriver/FluentSQLiteConfiguration.swift:125
    View the line on GitHub →
    Dedicated in-memory SQLite configuration (storage: .memory); unconditional, no platform gaps.
  • DatabaseConfigurationFactory.sqlite
    Sources/FluentSQLiteDriver/FluentSQLiteConfiguration.swift:14
    View the line on GitHub →
    Factory defaults to .memory configuration (config: SQLiteConfiguration = .memory).
  • Package.swift:8
    View the line on GitHub →
    Manifest declares .iOS(.v13) floor.

serves it · confidence 0.90 · as of 4.9.0

  • SQLiteConfiguration.memory
    Sources/FluentSQLiteDriver/FluentSQLiteConfiguration.swift:125
    View the line on GitHub →
    Dedicated in-memory SQLite configuration (storage: .memory); unconditional, no platform gaps.
  • DatabaseConfigurationFactory.sqlite
    Sources/FluentSQLiteDriver/FluentSQLiteConfiguration.swift:14
    View the line on GitHub →
    Factory defaults to .memory configuration (config: SQLiteConfiguration = .memory).
  • Package.swift:7
    View the line on GitHub →
    Manifest declares .macOS(.v10_15) floor.

serves it · confidence 0.90 · as of 4.9.0

  • SQLiteConfiguration.memory
    Sources/FluentSQLiteDriver/FluentSQLiteConfiguration.swift:125
    View the line on GitHub →
    Dedicated in-memory SQLite configuration (storage: .memory); unconditional, no platform gaps.
  • Package.swift:9
    View the line on GitHub →
    Manifest declares .watchOS(.v6) floor.

serves it · confidence 0.90 · as of 4.9.0

  • SQLiteConfiguration.memory
    Sources/FluentSQLiteDriver/FluentSQLiteConfiguration.swift:125
    View the line on GitHub →
    Dedicated in-memory SQLite configuration (storage: .memory); unconditional, no platform gaps.
  • Package.swift:10
    View the line on GitHub →
    Manifest declares .tvOS(.v13) floor.

serves it · confidence 0.70 · as of 4.9.0

  • SQLiteConfiguration.memory
    Sources/FluentSQLiteDriver/FluentSQLiteConfiguration.swift:125
    View the line on GitHub →
    Unconditional public decl; surface digest lists no visionOS gap. No explicit visionOS manifest floor, so confidence lowered.

serves it · confidence 0.85 · as of 4.9.0

  • SQLiteConfiguration.memory
    Sources/FluentSQLiteDriver/FluentSQLiteConfiguration.swift:125
    View the line on GitHub →
    Unconditional public decl; surface digest lists no linux gap. Vapor server-side package, CI tested on Linux.
  • DatabaseConfigurationFactory.sqlite
    Sources/FluentSQLiteDriver/FluentSQLiteConfiguration.swift:14
    View the line on GitHub →
    Factory defaults to .memory configuration (config: SQLiteConfiguration = .memory).

serves it · confidence 0.70 · as of 4.9.0

  • SQLiteConfiguration.memory
    Sources/FluentSQLiteDriver/FluentSQLiteConfiguration.swift:125
    View the line on GitHub →
    Unconditional public decl; surface digest lists no macCatalyst gap. No explicit macCatalyst manifest floor, so confidence lowered.
sqlite.swift full menu as of 0.16.0
Details

serves it · confidence 0.90 · as of 0.16.0

serves it · confidence 0.90 · as of 0.16.0

serves it · confidence 0.90 · as of 0.16.0

serves it · confidence 0.90 · as of 0.16.0

serves it · confidence 0.90 · as of 0.16.0

serves it · confidence 0.85 · as of 0.16.0

  • Connection.Location.inMemory
    Sources/SQLite/Core/Connection.swift:46
    View the line on GitHub →
  • Connection.init
    Sources/SQLite/Core/Connection.swift:106
    View the line on GitHub →
    init(_ location: Location = .inMemory, readonly: Bool = false) throws — in-memory is the default location.
  • Package.swift:31
    View the line on GitHub →
    Package.swift has an explicit #if os(Linux) branch enabling the SQLiteSwiftCSQLite default trait (bundled SQLite for Linux builds).

serves it · confidence 0.85 · as of 0.16.0

  • Connection.Location.inMemory
    Sources/SQLite/Core/Connection.swift:46
    View the line on GitHub →
  • Connection.init
    Sources/SQLite/Core/Connection.swift:106
    View the line on GitHub →
    init(_ location: Location = .inMemory, readonly: Bool = false) throws — in-memory is the default location.
  • Package.swift:38
    View the line on GitHub →
    Package.swift does not declare a macCatalyst floor, but all anchor symbols are unconditional (no platform gaps) in the extracted surface.
blackbird as of 0.5
Details

serves it · confidence 0.90 · as of 0.5

  • Blackbird.Database.inMemoryDatabase
    Sources/Blackbird/BlackbirdDatabase.swift:351
    View the line on GitHub →
    Doc: 'Instantiates a new SQLite database in memory, without persisting to a file.'
  • Blackbird.Database.path
    Sources/Blackbird/BlackbirdDatabase.swift:327
    View the line on GitHub →
    Doc: path is 'nil for in-memory databases'.
  • Package.swift:9
    View the line on GitHub →
    Package.swift declares .iOS(.v15) platform floor

serves it · confidence 0.90 · as of 0.5

  • Blackbird.Database.inMemoryDatabase
    Sources/Blackbird/BlackbirdDatabase.swift:351
    View the line on GitHub →
    Doc: 'Instantiates a new SQLite database in memory, without persisting to a file.'
  • Blackbird.Database.path
    Sources/Blackbird/BlackbirdDatabase.swift:327
    View the line on GitHub →
    Doc: path is 'nil for in-memory databases'.
  • Package.swift:8
    View the line on GitHub →
    Package.swift declares .macOS(.v12) platform floor

serves it · confidence 0.90 · as of 0.5

  • Blackbird.Database.inMemoryDatabase
    Sources/Blackbird/BlackbirdDatabase.swift:351
    View the line on GitHub →
    Doc: 'Instantiates a new SQLite database in memory, without persisting to a file.'
  • Blackbird.Database.path
    Sources/Blackbird/BlackbirdDatabase.swift:327
    View the line on GitHub →
    Doc: path is 'nil for in-memory databases'.
  • Package.swift:10
    View the line on GitHub →
    Package.swift declares .watchOS(.v8) platform floor

serves it · confidence 0.90 · as of 0.5

  • Blackbird.Database.inMemoryDatabase
    Sources/Blackbird/BlackbirdDatabase.swift:351
    View the line on GitHub →
    Doc: 'Instantiates a new SQLite database in memory, without persisting to a file.'
  • Blackbird.Database.path
    Sources/Blackbird/BlackbirdDatabase.swift:327
    View the line on GitHub →
    Doc: path is 'nil for in-memory databases'.
  • Package.swift:11
    View the line on GitHub →
    Package.swift declares .tvOS(.v15) platform floor

serves it · confidence 0.80 · as of 0.5

  • Blackbird.Database.inMemoryDatabase
    Sources/Blackbird/BlackbirdDatabase.swift:351
    View the line on GitHub →
    No explicit manifest floor (swift-tools-version 5.7 predates visionOS); symbols are unconditional in the surface digest.
  • Blackbird.Database.path
    Sources/Blackbird/BlackbirdDatabase.swift:327
    View the line on GitHub →
    Doc: path is 'nil for in-memory databases'.
?

not verified yet · confidence 0.20 · as of 0.5

  • Package.swift:7
    View the line on GitHub →
    platforms list contains only Apple platforms; Surface digest records no platform gaps, but sources unconditionally import Combine, SwiftUI, OSLog and SQLite3 with no os() guards, and Package.swift declares no Linux support; Linux buildability is unverified. Symbol absence is not absence evidence, so status is unknown.

serves it · confidence 0.80 · as of 0.5

  • Blackbird.Database.inMemoryDatabase
    Sources/Blackbird/BlackbirdDatabase.swift:351
    View the line on GitHub →
    No explicit manifest floor (swift-tools-version 5.7 predates visionOS); symbols are unconditional in the surface digest.
  • Blackbird.Database.path
    Sources/Blackbird/BlackbirdDatabase.swift:327
    View the line on GitHub →
    Doc: path is 'nil for in-memory databases'.
boutique as of 3.0.2
Details

serves it · confidence 0.70 · as of 3.0.2

  • Store.items
    Sources/Boutique/Store.swift:64
    View the line on GitHub →
    var items: [Item] — items are held in and read synchronously from the Store's in-memory cache layer (dual-layer memory + disk architecture)
  • Store.init
    Sources/Boutique/Store.swift:102
    View the line on GitHub →
    doc: 'persisting items to a memory cache' — memory layer is intrinsic to every Store
  • Store.previewStore
    #if DEBUG
    Sources/Boutique/Store.swift:304
    View the line on GitHub →
    DEBUG-only transient Store that only holds items in memory (SwiftUI Previews); no files written to disk

serves it · confidence 0.70 · as of 3.0.2

  • Store.items
    Sources/Boutique/Store.swift:64
    View the line on GitHub →
    var items: [Item] — items are held in and read synchronously from the Store's in-memory cache layer (dual-layer memory + disk architecture)
  • Store.init
    Sources/Boutique/Store.swift:102
    View the line on GitHub →
    doc: 'persisting items to a memory cache' — memory layer is intrinsic to every Store
  • Store.previewStore
    #if DEBUG
    Sources/Boutique/Store.swift:304
    View the line on GitHub →
    DEBUG-only transient Store that only holds items in memory (SwiftUI Previews); no files written to disk

serves it · confidence 0.60 · as of 3.0.2

  • Store.items
    Sources/Boutique/Store.swift:64
    View the line on GitHub →
    var items: [Item] — items are held in and read synchronously from the Store's in-memory cache layer (dual-layer memory + disk architecture) No explicit watchOS floor in Package.swift (manifest lists only iOS/macOS); symbol anchors are unconditional and the digest resolves them present on watchOS.
  • Store.init
    Sources/Boutique/Store.swift:102
    View the line on GitHub →
    doc: 'persisting items to a memory cache' — memory layer is intrinsic to every Store
  • Store.previewStore
    #if DEBUG
    Sources/Boutique/Store.swift:304
    View the line on GitHub →
    DEBUG-only transient Store that only holds items in memory (SwiftUI Previews); no files written to disk

serves it · confidence 0.60 · as of 3.0.2

  • Store.items
    Sources/Boutique/Store.swift:64
    View the line on GitHub →
    var items: [Item] — items are held in and read synchronously from the Store's in-memory cache layer (dual-layer memory + disk architecture) No explicit tvOS floor in Package.swift (manifest lists only iOS/macOS); symbol anchors are unconditional and the digest resolves them present on tvOS.
  • Store.init
    Sources/Boutique/Store.swift:102
    View the line on GitHub →
    doc: 'persisting items to a memory cache' — memory layer is intrinsic to every Store
  • Store.previewStore
    #if DEBUG
    Sources/Boutique/Store.swift:304
    View the line on GitHub →
    DEBUG-only transient Store that only holds items in memory (SwiftUI Previews); no files written to disk

serves it · confidence 0.60 · as of 3.0.2

  • Store.items
    Sources/Boutique/Store.swift:64
    View the line on GitHub →
    var items: [Item] — items are held in and read synchronously from the Store's in-memory cache layer (dual-layer memory + disk architecture) No explicit visionOS floor in Package.swift (manifest lists only iOS/macOS); symbol anchors are unconditional and the digest resolves them present on visionOS.
  • Store.init
    Sources/Boutique/Store.swift:102
    View the line on GitHub →
    doc: 'persisting items to a memory cache' — memory layer is intrinsic to every Store
  • Store.previewStore
    #if DEBUG
    Sources/Boutique/Store.swift:304
    View the line on GitHub →
    DEBUG-only transient Store that only holds items in memory (SwiftUI Previews); no files written to disk
?

not verified yet · confidence 0.20 · as of 3.0.2

  • Store.items
    Sources/Boutique/Store.swift:64
    View the line on GitHub →
    Surface digest resolves this decl present on linux (no os() conditions anywhere in the public surface), but the module unconditionally imports SwiftUI, Security, and Observation; Package.swift and README declare only iOS 17+/macOS 14+. Linux buildability unverified — honest answer is unknown.

serves it · confidence 0.65 · as of 3.0.2

  • Store.items
    Sources/Boutique/Store.swift:64
    View the line on GitHub →
    var items: [Item] — items are held in and read synchronously from the Store's in-memory cache layer (dual-layer memory + disk architecture) No explicit macCatalyst floor in Package.swift (manifest lists only iOS/macOS); symbol anchors are unconditional and the digest resolves them present on macCatalyst.
  • Store.init
    Sources/Boutique/Store.swift:102
    View the line on GitHub →
    doc: 'persisting items to a memory cache' — memory layer is intrinsic to every Store
  • Store.previewStore
    #if DEBUG
    Sources/Boutique/Store.swift:304
    View the line on GitHub →
    DEBUG-only transient Store that only holds items in memory (SwiftUI Previews); no files written to disk
grdb.swift as of v7.11.1
Details
?

not verified yet · confidence 0.30 · as of v7.11.1

?

not verified yet · confidence 0.30 · as of v7.11.1

?

not verified yet · confidence 0.30 · as of v7.11.1

?

not verified yet · confidence 0.30 · as of v7.11.1

?

not verified yet · confidence 0.30 · as of v7.11.1

?

not verified yet · confidence 0.30 · as of v7.11.1

?

not verified yet · confidence 0.30 · as of v7.11.1

✓ serves it · ◐ with conditions · ✕ not served (proven) · ? not verified yet — hover any verdict for the receipt, click to pin it