GithubHelp home page GithubHelp logo

Comments (8)

j82w avatar j82w commented on June 15, 2024 1

@dantheman999301 sorry for the delayed response. I missed this issue when we updated our plans. User defined functions is now supported. It will be available in the next release.

https://github.com/Azure/azure-cosmos-dotnet-v3/blob/master/Microsoft.Azure.Cosmos/src/Scripts/CosmosScripts.cs

Related PRs.
#196
#304

from azure-cosmos-dotnet-v3.

ajayraaviv avatar ajayraaviv commented on June 15, 2024

The CosmosContianer class provides a way to work with storedprocedures it seems. Wondering if there is something similar for the function objects also.

from azure-cosmos-dotnet-v3.

j82w avatar j82w commented on June 15, 2024

Hi @ajayraaviv,

There is currently no support for functions. What's your use case for functions?

from azure-cosmos-dotnet-v3.

deadwards90 avatar deadwards90 commented on June 15, 2024

I was about to raise an issue for this. I can see both triggers and functions are internal at the moment although there are methods further down which support creating both, is there any plan to make these public.

My personal use for them is that I'm building a migration tool and as they are part of Cosmos I wanted to support their management.

from azure-cosmos-dotnet-v3.

ajayraaviv avatar ajayraaviv commented on June 15, 2024

Sorry for the delayed response. Below is my use case for functions.
We are provisioning a new container in the database whenever a new client is on-boarded in the application. The application will perform some queries against the collection that rely on functions to simplify the sql. Since the functions is not supported yet I am deploying these functions(about 10) manually. I would like to be able to deploy these functions to the container after a container is provisioned and avoid the need of manual intervention. Thanks.

from azure-cosmos-dotnet-v3.

deadwards90 avatar deadwards90 commented on June 15, 2024

@j82w is there any more information you'd like about this? It's been a couple of months now, just wondering if this is planned to be changed.

from azure-cosmos-dotnet-v3.

j82w avatar j82w commented on June 15, 2024

@kirankumarkolli what's the current plan?

from azure-cosmos-dotnet-v3.

deadwards90 avatar deadwards90 commented on June 15, 2024

@j82w @kirankumarkolli Sorry to keep dragging this back up, but there hasn't really been much of a discussion here. Is the plan to make the methods for creating these public? I don't really see the harm in doing so, given you can create stored procedures already and I believe the old SDK supports it.

from azure-cosmos-dotnet-v3.

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.