Skip to content

Commit

Permalink
Adding another example for DuckDB in #13
Browse files Browse the repository at this point in the history
  • Loading branch information
gitfvb committed Jul 3, 2024
1 parent ff814d8 commit 3136dd9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,9 @@ $c = Read-DuckDBQueryAsScalar -Query "Select count(*) from read_csv('.\test.txt'
# This query then trys to find out more about the csv file like the delimiter, headers, date formats, column data types and much more
# The delimiter does not need to be defined explicitely, it expects UTF-8
$c = Read-DuckDBQueryAsReader -Query "Select * from sniff_csv('.\test.txt', sample_size=1000, delim='\t') limit 10" -ReturnAsPSCustom
# Read a csv file as an array of pscustom objects
$c = Read-DuckDBQueryAsReader -Query "Select * from sniff_csv('.\test.txt', delim='\t')" -ReturnAsPSCustom -AsStream
```

# Errors
Expand Down

0 comments on commit 3136dd9

Please sign in to comment.