examples-sql-method/04-read-wild-card-csv.ps1

Import-Module $psscriptroot\..\PSDuckDB.psd1 -Force

# psduckdb -command "SELECT * FROM '$PSScriptRoot\..\data\csv\sample\*.csv';" | Format-Table

$db = New-DuckDBConnection

$db.sql("SELECT * FROM '$PSScriptRoot\..\data\csv\sample\*.csv';") | Format-Table

$db.CloseDB()