-
Notifications
You must be signed in to change notification settings - Fork 0
Read SQLite
Marco van Gaal edited this page May 8, 2015
·
12 revisions
Read-SQLite
Excutes SELECT query on the database
-Connection
Required? true Position? 1 Default value Accept pipeline input? false Accept wildcard characters? false-Query
Required? true Position? 2 Default value Accept pipeline input? true (ByValue) Accept wildcard characters? false
<String>
<DataTable>
-------------------------- EXAMPLE 1 -------------------------- C:\PS>Read-SQLite [-Connection] <SQLiteConnection> [-Query] <String> Runs the query on database and returns <DataTable> object -------------------------- EXAMPLE 2 -------------------------- C:\PS>"SELECT * FROM sqlite_master WHERE type='table';" | Read-SQLite [-Connection] <SQLiteConnection> Runs the query on database and returns <DataTable> object