examples-sql-method/05-read-wild-card-json.ps1

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

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

$db = New-DuckDBConnection

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

$db.CloseDB()