title: How does one call a SQL Server scalar function using the mssql package for nodejs?
body: <p>I have a custom scalar function in SQL Server 2012. It takes 2 floats and returns a nvarchar. Tested and works inside SQL Server.</p>
  
  <p>I've not found any examples of how to call it from node-mssql.  The attempts I've made fail with:</p>
  
  <p><code>TypeError: Cannot set property 'value' of undefined</code></p>
  
  <p>Which appears to be an error from the node-tedious package...so possibly tedious doesn't support it yet.</p>
  
  <p>I have a working version that calls a Stored Procedure with two input parameters that returns a recordset, but as I really only need one value, it seems like it's over kill, and an executeScalar call would be useful here (something I'm used to having from .NET).</p>