title: dynamo Db contains
body: <p>I am very new to dynamodb, i got stuck up with a situation here. I am working on a code which is already available here. My requirement is I want to change my query to add a filter. </p>
  
  <p>My current code is</p>
  
  <pre><code>reqObj.TableName = config.storeTableName;
     reqObj.FilterExpression = "isActive = :isActive AND isDeleted = :isDeleted AND #state = :stateName",
     reqObj.ExpressionAttributeNames = {"#state": "state"};
     reqObj.ExpressionAttributeValues= {":isActive": true, ":isDeleted": false , ":city": cityName , ":stateName" : region_code},
  </code></pre>
  
  <p>I want to check whether a specific value is there in city, i browsed and found out CONTAINS parameter will be suitable. But don't know where to add</p>
  
  <p>Suppose i want to check whether the city contains a value "LOS ANGELES", where the code should be placed in the above code.</p>
  
  <p>will It Be like this</p>
  
  <pre><code>reqObj.TableName = config.storeTableName;
         reqObj.FilterExpression = "isActive = :isActive AND isDeleted = :isDeleted AND CONTAINS(city = :city) AND  #state = :stateName",
         reqObj.ExpressionAttributeNames = {"#state": "state"};
         reqObj.ExpressionAttributeValues= {":isActive": true, ":isDeleted": false , ":city": cityName , ":stateName" : region_code},
  </code></pre>
  
  <p>Thanks</p>