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