Git Product home page Git Product logo

Comments (3)

TimelordUK avatar TimelordUK commented on September 24, 2024

Thanks for taking an interest in msnodesqlv8.

There is a difference in behaviour between sql.query where connect string is provided and query on an open connection. The connection is not closed automatically on a user opened connection. This allows queries to be sent to the same connection until user calls the close method.

Currently the closed event is only sent on the sql.query form where connection string is provided. In this case a connection is opened query sent and closed when event is fired.

Under covers your right the code paths are very similar yet in this respect the behaviour is different.

I am not sure if this answers your question. If I am not understanding please elaborate further.

from node-sqlserver-v8.

zeiphon avatar zeiphon commented on September 24, 2024

Thanks for getting back to me!

I see, that does answer my question and makes sense. Is this the same functionality as node-sqlserver? Is there any documentation around these methods? I've done a bit of searching but haven't turned up much.

from node-sqlserver-v8.

TimelordUK avatar TimelordUK commented on September 24, 2024

I am trying to write the Wiki for this library with some information which is on GitHub. But certainly there needs to be more details.

Sent from my iPad

On 18 Oct 2016, at 10:19, Jonathon T [email protected] wrote:

Closed #26.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

from node-sqlserver-v8.

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.