Giter Club home page Giter Club logo

Comments (4)

bchavez avatar bchavez commented on June 6, 2024

Hi Ali,

If you need help, please have a look here in this section of the readme that outlines the help and support options for this driver.

Normally, GitHub issues here are mostly reserved for bug reports and issues surrounding changes to the driver source code.

from rethinkdb.driver.

aliprogrammer69 avatar aliprogrammer69 commented on June 6, 2024

from rethinkdb.driver.

bchavez avatar bchavez commented on June 6, 2024

Hi Ali,

Perhaps I closed the issue too soon and probably should have explained a little more.

The proposal for .RunAsRowJson() is slightly ambiguous. The string result in the query is ambiguous because it requires a discussion to determine what result should be in terms of JSON.

string result = R.Db(DbName).Table(TableName)
                   .GetAll(R.Args(ids))
                   .RunAsRowJson(connection);
  • Is result the semantic JSON result of the query?
  • Is result the raw JSON protocol response that is received from the server?
  • What about cursor responses as result JSON? Cursor response results that bypass the driver internal management can cause memory leaks on the server if opened cursors are not properly driven by the client.
  • ... and a whole slew of many other issues as well.

So, the proposal isn't quite as clear cut as it may seem.

What should .RunAsRowJson() return? I don't know.

My gut feeling is that you are probably looking for is the ReQL .ToJsonString() method. And this is why I originally suggested carrying the conversation over on Discord or Gitter.im if you need help using it.

Hope that helps,
Brian

from rethinkdb.driver.

aliprogrammer69 avatar aliprogrammer69 commented on June 6, 2024

from rethinkdb.driver.

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.