68 lines
48 KiB
JSON
68 lines
48 KiB
JSON
![]() |
{
|
||
|
"name": "mysql",
|
||
|
"description": "A node.js driver for mysql. It is written in JavaScript, does not require compiling, and is 100% MIT licensed.",
|
||
|
"version": "2.10.0",
|
||
|
"license": "MIT",
|
||
|
"author": {
|
||
|
"name": "Felix Geisendörfer",
|
||
|
"email": "felix@debuggable.com",
|
||
|
"url": "http://debuggable.com/"
|
||
|
},
|
||
|
"contributors": [
|
||
|
{
|
||
|
"name": "Andrey Sidorov",
|
||
|
"email": "sidorares@yandex.ru"
|
||
|
},
|
||
|
{
|
||
|
"name": "Douglas Christopher Wilson",
|
||
|
"email": "doug@somethingdoug.com"
|
||
|
},
|
||
|
{
|
||
|
"name": "Diogo Resende",
|
||
|
"email": "dresende@thinkdigital.pt"
|
||
|
}
|
||
|
],
|
||
|
"homepage": "https://github.com/felixge/node-mysql",
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "git://github.com/felixge/node-mysql"
|
||
|
},
|
||
|
"dependencies": {
|
||
|
"bignumber.js": "2.1.2",
|
||
|
"readable-stream": "~1.1.13"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"eslint": "1.10.1",
|
||
|
"istanbul": "0.4.1",
|
||
|
"require-all": "2.0.0",
|
||
|
"rimraf": "2.2.8",
|
||
|
"timezone-mock": "0.0.0",
|
||
|
"mkdirp": "0.5.1",
|
||
|
"urun": "0.0.8",
|
||
|
"utest": "0.0.8"
|
||
|
},
|
||
|
"files": [
|
||
|
"lib/",
|
||
|
"Changes.md",
|
||
|
"License",
|
||
|
"Readme.md",
|
||
|
"index.js"
|
||
|
],
|
||
|
"engines": {
|
||
|
"node": ">= 0.6"
|
||
|
},
|
||
|
"scripts": {
|
||
|
"lint": "eslint lib/**/*.js index.js test/**/*.js",
|
||
|
"test": "node test/run.js",
|
||
|
"test-ci": "node test/run-cov.js lcovonly",
|
||
|
"test-cov": "node test/run-cov.js"
|
||
|
},
|
||
|
"readme": "# mysql\n\n[![NPM Version][npm-image]][npm-url]\n[![NPM Downloads][downloads-image]][downloads-url]\n[![Node.js Version][node-version-image]][node-version-url]\n[![Linux Build][travis-image]][travis-url]\n[![Windows Build][appveyor-image]][appveyor-url]\n[![Test Coverage][coveralls-image]][coveralls-url]\n\n## Table of Contents\n\n- [Install](#install)\n- [Introduction](#introduction)\n- [Contributors](#contributors)\n- [Sponsors](#sponsors)\n- [Community](#community)\n- [Establishing connections](#establishing-connections)\n- [Connection options](#connection-options)\n- [SSL options](#ssl-options)\n- [Terminating connections](#terminating-connections)\n- [Pooling connections](#pooling-connections)\n- [Pool options](#pool-options)\n- [Pool events](#pool-events)\n- [Closing all the connections in a pool](#closing-all-the-connections-in-a-pool)\n- [PoolCluster](#poolcluster)\n- [PoolCluster Option](#poolcluster-option)\n- [Switching users and altering connection state](#switching-users-and-altering-connection-state)\n- [Server disconnects](#server-disconnects)\n- [Performing queries](#performing-queries)\n- [Escaping query values](#escaping-query-values)\n- [Escaping query identifiers](#escaping-query-identifiers)\n- [Preparing Queries](#preparing-queries)\n- [Custom format](#custom-format)\n- [Getting the id of an inserted row](#getting-the-id-of-an-inserted-row)\n- [Getting the number of affected rows](#getting-the-number-of-affected-rows)\n- [Getting the number of changed rows](#getting-the-number-of-changed-rows)\n- [Getting the connection ID](#getting-the-connection-id)\n- [Executing queries in parallel](#executing-queries-in-parallel)\n- [Streaming query rows](#streaming-query-rows)\n- [Piping results with Streams2](#piping-results-with-streams2)\n- [Multiple statement queries](#multiple-statement-queries)\n- [Stored procedures](#stored-procedures)\n- [Joins with overlapping column names](#joins-with-overlapping-column-names)\n- [Transactions](#transactions)\n- [Timeouts](#timeouts)\n- [Error handling](#error-handling)\n- [Exception Safety](#exception-safety)\n- [Type casting](#type-casting)\n- [Connection Flags](#connection-flags)\n- [Debugging and reporting problems](#debugging-and-reporting-problems)\n- [Running tests](#running-tests)\n- [Todo](#todo)\n\n## Install\n\n```sh\n$ npm install mysql\n```\n\nFor information about the previous 0.9.x releases, visit the [v0.9 branch][].\n\nSometimes I may also ask you to install the latest version from Github to check\nif a bugfix is working. In this case, please do:\n\n```sh\n$ npm install felixge/node-mysql\n```\n\n[v0.9 branch]: https://github.com/felixge/node-mysql/tree/v0.9\n\n## Introduction\n\nThis is a node.js driver for mysql. It is written in JavaScript, does not\nrequire compiling, and is 100% MIT licensed.\n\nHere is an example on how to use it:\n\n```js\nvar mysql = require('mysql');\nvar connection = mysql.createConnection({\n host : 'localhost',\n user : 'me',\n password : 'secret',\n database : 'my_db'\n});\n\nconnection.connect();\n\nconnection.query('SELECT 1 + 1 AS solution', function(err, rows, fields) {\n if (err) throw err;\n\n console.log('The solution is: ', rows[0].solution);\n});\n\nconnection.end();\n```\n\nFrom this example, you can learn the following:\n\n* Every method you invoke on a connection is queued and executed in sequence.\n* Closing the connection is done using `end()` which makes sure all remaining\n queries are executed before sending a quit packet to the mysql server.\n\n## Contributors\n\nThanks goes to the people who have contributed code to this module, see the\n[GitHub Contributors page][].\n\n[GitHub Contributors page]: https://github.com/felixge/node-mysql/graphs/contributors\n\nAdditionally I'd like to thank the following people:\n\n* [Andrey Hristov][] (Oracle) - for helping me with protocol questions.\n* [Ulf Wendel][] (Oracle) - for helping me with protocol questions.\n\n[Ulf Wendel]: http://blog.ulf-wendel.de/\n[Andrey Hristov]: http://andrey.hristov.com/\n\n## Sponsors\n\nThe following
|
||
|
"readmeFilename": "Readme.md",
|
||
|
"bugs": {
|
||
|
"url": "https://github.com/felixge/node-mysql/issues"
|
||
|
},
|
||
|
"_id": "mysql@2.10.0",
|
||
|
"_from": "mysql@"
|
||
|
}
|