<commit_before>
$Connection = New-Object Data.SqlClient.SqlConnection
$Connection | 
    Add-Member -MemberType NoteProperty -Name ScriptsPath -Value $null
    
$RivetSchemaName = 'rivet'
$RivetMigrationsTableName = 'Migrations'
$RivetMigrationsTableFullName = '{0}.{1}' -f $RivetSchemaName,$RivetMigrationsTableName

dir $PSScriptRoot *-*.ps1 |
    Where-Object { $_.BaseName -ne 'Import-Rivet' } |
    ForEach-Object { . $_.FullName }
    
$functionsToExport = @(
                        'Add-Column',
                        'Add-Description',
                        'Add-Table',
                        'Invoke-Query',
                        'Invoke-Rivet',
                        'Invoke-SqlScript',
                        'New-Column',
                        'Remove-Column',
                        'Remove-Description',
                        'Remove-StoredProcedure',
                        'Remove-Table',
                        'Remove-UserDefinedFunction',
                        'Remove-View',
                        'Set-StoredProcedure',
                        'Set-UserDefinedFunction',
                        'Set-View',
                        'Update-Description'
                      )
<commit_msg>Rivet now exports all functions by default.<commit_after>
$Connection = New-Object Data.SqlClient.SqlConnection
$Connection | 
    Add-Member -MemberType NoteProperty -Name ScriptsPath -Value $null
    
$RivetSchemaName = 'rivet'
$RivetMigrationsTableName = 'Migrations'
$RivetMigrationsTableFullName = '{0}.{1}' -f $RivetSchemaName,$RivetMigrationsTableName

dir $PSScriptRoot *-*.ps1 |
    Where-Object { $_.BaseName -ne 'Import-Rivet' } |
    ForEach-Object { . $_.FullName }

$privateFunctions = @(
                        'Connect-Database',
                        'Disconnect-Database',
                        'Initialize-Database',
                        'New-ConstraintName',
                        'New-Migration',
                        'Resolve-ObjectScriptPath',
                        'Test-Migration',
                        'Test-Schema',
                        'Test-Table',
                        'Update-Database',
                        'Write-RivetError'
                      )

$functionsToExport = Get-Command -CommandType Function -Module Rivet |
                        Where-Object { $privateFunctions -notcontains $_.Name }

{'fraction_non_alphanumeric': 0.10451505016722408, 'fraction_numerical': 0.002508361204013378, 'mean_word_length': 1.4050251256281407, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1018042', 'n_tokens_mistral': 638, 'n_tokens_neox': 605, 'n_words': 104}