Code Monkey home page Code Monkey logo

Comments (5)

anmunoz avatar anmunoz commented on June 12, 2024

Hi,

Yes, you are right, this option is not available for that processor yet, Sorry for the error in the documentation.

from fiware-draco.

ianp1 avatar ianp1 commented on June 12, 2024

No worries. If you could give me a short summary on what steps are necessary, i might have a look at it once i have some spare time.

from fiware-draco.

anmunoz avatar anmunoz commented on June 12, 2024

Thanks, You can enable this option in the processor in the same line that you show adding the column option
.allowableValues("row","column") Aso you need to code the column option in this file:

And also build the strings for making the queries according to the documentation.

If you need some additional information please let me know

from fiware-draco.

ianp1 avatar ianp1 commented on June 12, 2024

Hey again,
so i did look into the files you pointed to. I followed along to the implementation in PostgreSQLBackend and it did seem to work. You can check it out in my fork over here.
However, i am a little concerned about changes in entities. Since the columns in sql tables are static, new attributes would cause an error and would fail. Any thoughts on that?

from fiware-draco.

anmunoz avatar anmunoz commented on June 12, 2024

Hello, as you mention if you receive new attributes in a database or table that have been already created, the database will generate an error. For that reason, we show in the documentation that you have to be careful with that and, one solution is changing the fiware-service or fiware-service path in order that a new table will be created.

Hence, your code seems good to me, if you want you can contribute that creating a pull request.

from fiware-draco.

Related Issues (19)

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.