title: Parameterized Input with Document Fields with Cosmos DB
body: <p>I want to use Parameterized Queries with a Document Field as well as with the value at a specified Field for Cosmos DB. <a href="https://docs.microsoft.com/en-us/azure/cosmos-db/how-to-sql-query#parameterized-queries" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/azure/cosmos-db/how-to-sql-query#parameterized-queries</a></p>
  
  <p>For example:</p>
  
  <pre><code>SELECT *
  FROM Families f
  WHERE @field = @value 
  </code></pre>
  
  <p>I want to be able to specify something like <code>f.lastName</code> for <code>@field</code>, and <code>Smith</code> for <code>@value</code>.</p>
  
  <p>Is this not possible? Trying to do this over the .NET SDK, it doesn't seem to work, no matter what I do.</p>