Shashi Uli | 15 Apr 2010 19:25

Added support for 'LIKE' in WQL query - patch included

Hi,

I have extended the WQL query to include the ‘LIKE’ syntax similar to CQL queries.

 

The query looks like this:

‘SELECT * FROM CIM_ComputerSystem WHERE Name LIKE “%MyName%”’

 

Returns a list of CIM_CompterSystem objects whose ‘Name’ property includes ‘MyName’.

 

The patch is included here.

 

-          Shashi

Attachment (wql.patch): application/octet-stream, 133 KiB

Gmane