Skip to content
Marco van Gaal edited this page May 8, 2015 · 12 revisions

NAME

Read-SQLite

SYNOPSIS

Excutes SELECT query on the database

DESCRIPTION

PARAMETERS

-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

INPUTS

<String>

OUTPUTS

<DataTable>

EXAMPLES

-------------------------- 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

RELATED LINKS

http://www.proxx.nl/

Clone this wiki locally