modules/PSUSQLite/PSUSQLite.psm1

# Load private functions
foreach ($file in (Get-ChildItem "$PSScriptRoot/Private/*.ps1" -ErrorAction Stop)) {
    . $file.FullName
}

# Load Microsoft.Data.Sqlite assembly BEFORE loading public functions (they reference the types)
ResolvePSUSQLiteAssembly

# Load public functions
foreach ($file in (Get-ChildItem "$PSScriptRoot/Public/*.ps1" -ErrorAction Stop)) {
    . $file.FullName
}