title: Passing array object in find Method (TypeORM)
body: <p>I am migrating the API to TypeORM from mongoose. I have an array(conversationIds) containing list of id to be searched from the Database and it should return me the available id. Below are the query which i have tried.</p>
  
  <pre><code> const conversationMessagesWithDuplicates = await consversationRepository.createQueryBuilder("conversation").where("conversation.channel_message_ID = :channel_message_ID",{channel_message_ID : conversationIds}).getMany();
  </code></pre>
  
  <p>and also this one</p>
  
  <pre><code>const conversationMessagesWithDuplicates = await consversationRepository.find({channel_message_ID: conversationIds});
  </code></pre>
  
  <p>But i am getting below issue: </p>
  
  <pre><code>(node:11548) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): QueryFailedError: Error: Incorrect syntax near ','.
  </code></pre>
  
  <p>I have tried using entity Manger also but no success </p>
  
  <pre><code>const conversationMessagesWithDuplicates = await entityManager.query(`SELECT channel_message_ID FROM Conversation where channel_message_ID IN (conversationIds)`);
  </code></pre>
  
  <p>Below is the MoongoseAPI which is working fine:</p>
  
  <pre><code>Conversation.find( { channel_message_ID: { $in: conversationMessageIdArray } } ).exec(function(err, conversationMessagesDuplicatesArray) {}
  </code></pre>