Giter Site home page Giter Site logo

Comments (7)

paulbatum avatar paulbatum commented on May 23, 2024

@tdykstra I am not sure I follow, why would you hardcode the row key into your binding configuration? The row key would be a value that changes per function execution, it would be determined by some other input (probably the trigger).

from azure-functions-templates.

tdykstra avatar tdykstra commented on May 23, 2024

I mean the rowKey is not made available even to put a placeholder in it.

from azure-functions-templates.

paulbatum avatar paulbatum commented on May 23, 2024

I don't follow. Can you maybe compare this to other input bindings such as the docdb and easy tables input bindings to put it into context?

from azure-functions-templates.

tdykstra avatar tdykstra commented on May 23, 2024

Here's another way to present it. I use the following function.json to retrieve a single table row where the queue message has the row key. There is no way to create this function.json using the UI because you aren't given access to the rowKey property.

{
  "bindings": [
    {
      "queueName": "myqueue-items",
      "connection": "",
      "name": "myQueueItem",
      "type": "queueTrigger",
      "direction": "in"
    },
    {
      "name": "personInTable",
      "type": "table",
      "tableName": "Person",
      "partitionKey": "Test",
      "rowKey": "{queueTrigger}",
      "take": 1,
      "filter": "",
      "connection": "",
      "direction": "in"
    }
  ],
  "disabled": false
}

from azure-functions-templates.

paulbatum avatar paulbatum commented on May 23, 2024

Sorry for being slow, makes sense now.

Specifically, the problem is that bindings.json does not specify a UI element for the rowkey.

from azure-functions-templates.

soninaren avatar soninaren commented on May 23, 2024

Will add the row key again after the issue below is resolved.
Azure/azure-functions-host#261

from azure-functions-templates.

fabiocav avatar fabiocav commented on May 23, 2024

Just an update; this should now be resolved for C#. If you're working on the automated tests, you should be able to validate that.

from azure-functions-templates.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.