title: syntax error at or near "WHERE" in findOne (typeorm - nestjs)
body: <p>Error in findOne() (getPhonById)
  Full error in following images: </p>
  
  <p>Error screenshots: <a href="https://imgur.com/a/joHuo3Y" rel="nofollow noreferrer">https://imgur.com/a/joHuo3Y</a></p>
  
  <p>Tried deleting table and creating new, tried using find() but same question.</p>
  
  <p>code in screenshots above</p>
  
  <p>expected 1 record from db</p>