Remove-SingleStore Cmdlet
Deletes SingleStore data.
Syntax
Remove-SingleStore [parameters]
Remarks
The Remove-SingleStore cmdlet allows you to use a syntax similar to SQL DELETE statements to delete SingleStore data.
$conn = Connect-SingleStore -User 'myUser' -Password 'myPassword' -Database 'NorthWind' -Server 'myServer' -Port 3306 Remove-SingleStore -Connection $conn -Table "`sakila`.Orders" -Id "10261"The Where parameter can also be used to specify the primary key:
Remove-SingleStore -Connection $conn -Table "exTablePowershell;" -Where "Id = 10261"The primary key can also be passed to the cmdlet along the pipeline:
Select-SingleStore -Connection $conn -Table `sakila`.Orders -Where "ShipCountry = 'USA'" | Remove-SingleStore