{"_id":"90crew-sqlite-async","_rev":"5-737a26038da176b8c9fe993317cb9daa","name":"90crew-sqlite-async","dist-tags":{"latest":"0.0.4"},"versions":{"1.1.2":{"name":"90crew-sqlite-async","version":"1.1.2","description":"ES6 Promise-based interface to the sqlite3 module.","main":"sqlite-async.js","directories":{"test":"mocha"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/fhellwig/90crew-sqlite-async.git"},"keywords":["SQLite","Async"],"author":{"name":"Frank Hellwig"},"license":"MIT","bugs":{"url":"https://github.com/fhellwig/90crew-sqlite-async/issues"},"homepage":"https://github.com/fhellwig/90crew-sqlite-async#readme","dependencies":{"sqlite3":"^5.0.0"},"devDependencies":{"mocha":"^9.1.1"},"gitHead":"a3259e1774b5a52710a3a940da855e3f3d5a3342","_id":"90crew-sqlite-async@1.1.2","_nodeVersion":"17.3.0","_npmVersion":"8.3.0","dist":{"integrity":"sha512-Po1zoXO/8gGyzrkMYaxupJ2EtXcVUi2DV7SPuyX89/BANACmLgNRG88Nc4jwLQMQY1PtYeb1iC5hwcteZT4B+g==","shasum":"52926ad4cb3a3898e5e4a98e42bd54d411049d97","tarball":"https://registry.npmjs.org/90crew-sqlite-async/-/90crew-sqlite-async-1.1.2.tgz","fileCount":5,"unpackedSize":21748,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiDT4uCRA9TVsSAnZWagAA4YMQAJz6xy84zhL3zgyRIKub\nIWSA6dF/ATn/4q9SakMBu6omUMkZ9YZVUTgYyqLMRslumgiInObNe/i1edZL\n/8da+Ww7I/xeHVqgSspzxmyn0kvcnfpmZNVN2TiPaCsZ7DJXhsqEn78SWotC\narOiJlQU3Un6YNmv263fptxam4mpkbf64NO6V14gptbVUFSCO4586V1pb0kW\nWUcbpCblfP3O1AcfM2wcL8nks7CR8wQOoH34KtXufWrBwpywFjasCkNFY+pJ\nePVBzg//CoOY1gW2+84q/lGCDwIwUPrumYdY1kDd24GhcxAjyRJ868olQp+X\ntq07lZnVS6bGGvXK7NmNnCzv7655U8UaFw/zL6oGc6XgmAJ34LR1XscaQZBc\nseVjTSKnbq1vX1rw8o7Jdm1mkl3DREqBoBux/SJhr2rxxJ7Z0p2CdOZ4IQL8\n9+uTbRBMcU1hqO7Bp5K3L+vjPEzv9IbtpZcAcBo8Gvy6yVW6LASY7LhFxFF+\nD7lFs7CIHn3BC+9Qc9zZkXelP0UlIKcZOOMi9x49asOaPKeq3wQF0XbgW13G\nz6Q/huB0QbRFns0t2GsRMwV7Hz6DTSV5ShAA+Qd6wz/gA9u/LcCf8RBDgNQV\npeTC0y4y9Wz+mvSnAfLBFT4Hs2IRBE0OQWz0s5f4H7Yo5NaVwBftRHwg5cz1\n0ymA\r\n=QVwQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCvRzOXRzBRvGXgAFskrh6tLlROH5YXREbq+16xB6AEBwIgMC626lUXGFJv1L8tJwa6eIklPHpF4LvC/M+RfyR2EB8="}]},"_npmUser":{"name":"taeyongha","email":"gkxo5959@naver.com"},"maintainers":[{"name":"taeyongha","email":"gkxo5959@naver.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/90crew-sqlite-async_1.1.2_1645035054700_0.11767771691792817"},"_hasShrinkwrap":false},"0.0.1":{"name":"90crew-sqlite-async","version":"0.0.1","description":"ES6 Promise-based interface to the sqlite3 module.","main":"sqlite-async.js","directories":{"test":"mocha"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/fhellwig/90crew-sqlite-async.git"},"keywords":["SQLite","Async"],"author":{"name":"Frank Hellwig"},"license":"MIT","bugs":{"url":"https://github.com/fhellwig/90crew-sqlite-async/issues"},"homepage":"https://github.com/fhellwig/90crew-sqlite-async#readme","dependencies":{"sqlite3":"^5.0.0"},"devDependencies":{"mocha":"^9.1.1"},"gitHead":"f684e10988c659b856a85706afd77b0cdc8a0ab9","_id":"90crew-sqlite-async@0.0.1","_nodeVersion":"17.3.0","_npmVersion":"8.3.0","dist":{"integrity":"sha512-3787cixdB7E/QzlWh8Z+KeZHgX10ySK2AHNeaFTTuXmRvYeeHTtbwSCSW5wJdGXKHlUClqfuLW2d9klYxaGc5Q==","shasum":"f75d3630c64cac801dbce0ad3b51325fa99e5ce1","tarball":"https://registry.npmjs.org/90crew-sqlite-async/-/90crew-sqlite-async-0.0.1.tgz","fileCount":5,"unpackedSize":21748,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiDT6cCRA9TVsSAnZWagAASM8P/02tGfFWpGEMcNhf3FrV\nbrBsx+jzs43535miNTaBV1jGl1zp1HCn5wf31yDuAWZ2QWmsSYS5ZqcZrBWI\nBxZ1a1JbgxfzTRY9IVrMiNogffPd+oQhOM5HT8UG+q7iYssavG0dHa+34BW2\nDHfQ/8g/aKiT+tF1/iEUsw1pKKgQFybVDRnfJuoiRvAGuMpLgd0yD8GaNSHC\nxS9dV3f9h3152wtJs/91m7KnrhpceD1ul88P8eK2dNhRVIjmj5uDz+zv0seC\nV20jyHpQ6eYILcRfCwuZEnYIVlm4neaxDo3+PFqzCgGuVvTwvXk44Wn7lwGt\nrwvhv3aO09hZB3UKWZ6DW8EHp7h/hzFil9739EKxAajrRUYGYnQuWmHfNR/e\nldljdJYtG59IRmFN1aKqoH68+Qhyre4Y08qP0jcBZLYNS+NwZFaif3HqqIi+\nvOflSE6cH3n2qjxmdUCAmVHsxUmgrMCjEfSk/XXyH20PSJpR0JSHSyDY112K\nmN6czLxLnzOBlWezG85522E+Z1dBNJyJQQJdBgGb0Vow/Y7X+nlQ06gPT4kM\ngFTIuGoRwyqE5N05qKCExcqSJbjESZc1/khNGlfNiMYm92rQEV7D0tuBXQNt\nvKN1sUTrPqveEJ69MRL58EOLcidUq0YkvNku9prLpCSnjabvU0i8IzboqI33\n2tXU\r\n=pnZz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID2hQlWM8KE8i/YQf2fM/NduhqJQZyOwvJ3PgCXSwNtdAiEAlgud6Zm27C1MMLYZwigfzAcilpy7N4rNvLa7e8LSVPQ="}]},"_npmUser":{"name":"taeyongha","email":"gkxo5959@naver.com"},"maintainers":[{"name":"taeyongha","email":"gkxo5959@naver.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/90crew-sqlite-async_0.0.1_1645035164714_0.6411780412098009"},"_hasShrinkwrap":false},"0.0.2":{"name":"90crew-sqlite-async","version":"0.0.2","description":"ES6 Promise-based interface to the sqlite3 module.","main":"sqlite-async.js","directories":{"test":"mocha"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/hatae94/sqlite-async.git"},"keywords":["SQLite","Async"],"author":{"name":"Frank Hellwig"},"license":"MIT","bugs":{"url":"https://github.com/hatae94/sqlite-async/issues"},"homepage":"https://github.com/hatae94/sqlite-async#readme","dependencies":{"sqlite3":"^5.0.0"},"devDependencies":{"mocha":"^9.1.1"},"gitHead":"540bc3e4a50227ddb106738a7cf963ab16787c97","_id":"90crew-sqlite-async@0.0.2","_nodeVersion":"17.3.0","_npmVersion":"8.3.0","dist":{"integrity":"sha512-aukhfDNhVzlT0bD2K43PuVVhywFccaGnJlqIsNiq7RNTpoa4JkLHyS4pDGNMtts8kBciINSiuIOh/YklbQLgVA==","shasum":"aa56224dfe92044fa57bb32476e728ce1458c3ca","tarball":"https://registry.npmjs.org/90crew-sqlite-async/-/90crew-sqlite-async-0.0.2.tgz","fileCount":5,"unpackedSize":21720,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiDURWCRA9TVsSAnZWagAAidgP/if3Eo0WAQ6Yb1VikIy3\nm8Bf7hKjmFUwdNbqfZ3ZETShAzLFYwIWaLajDmTgy9ncGmpo5WD9HqfL+eQU\nyXW+u3+hN+qicdJJOu89Rnim/wQBA4Tj9/yz5iF7FRKUkfkZWJoIYYpjbETJ\nFSWUoAJyoxnMEEWb80p7iOWCpUs+RLqL0QP4s1faIY2ds+V2FQFCMQJMRUG/\nlo49Z+U/eQI4SOGO/BhdRjkMIKGrzh0DCLM9bHKOX6yiKsgF500kvru8mzGO\nRzCvHgI1790n1QaIL/eEIqBp33h64TrqxdjS6HHcBIWLqRs5kVvRzjbguY0L\naiBkruXXqp+nwueAaOkBeRhjs01Q6Hz4UI4A5AFstCO0uCYnF0j+3vta4V3j\nOdO9hbOq0RPYjcA9uXVAQYQHaaaeYTNxefAuWrZugSJimQOyMfv9kMaAoUCQ\nRNo6Jrxz3QOJ2gXZx6dSwD8vd5byjFzaGTBx+loKZbUOmxvwo1EQfr1SOJuD\nBicvT4afQCyT5aSQgTPwkPCS2Sq4AEjulBFDhpPg6fJ3zvhpcFWNz8TFUMww\no0UwJpbldXd9LAZf7qJ9EuG8tQNlKFym7Vm/NQ2lWZxCIpfRnaNboUj9GyZZ\n/UXnoK2maoQeOPPVXiPc6H1t0mbQs6SHwvgRxT3vVAuRykR73auaoQ6wtrlv\n6ASj\r\n=/Pqv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCe0IVYztiy+yUK6ZEow6+4Mgouehh99U9/s6KKnOZu0gIgMC/g7GugY3VO4MGB/UGZeQRm/AuAdAuEJ6nfWuCYsg0="}]},"_npmUser":{"name":"taeyongha","email":"gkxo5959@naver.com"},"maintainers":[{"name":"taeyongha","email":"gkxo5959@naver.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/90crew-sqlite-async_0.0.2_1645036630396_0.3567705328516557"},"_hasShrinkwrap":false},"0.0.3":{"name":"90crew-sqlite-async","version":"0.0.3","description":"ES6 Promise-based interface to the sqlite3 module.","main":"sqlite-async.js","directories":{"test":"mocha"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/hatae94/sqlite-async.git"},"keywords":["SQLite","Async"],"author":{"name":"Frank Hellwig"},"license":"MIT","bugs":{"url":"https://github.com/hatae94/sqlite-async/issues"},"homepage":"https://github.com/hatae94/sqlite-async#readme","dependencies":{"sqlite3":"^5.0.0"},"devDependencies":{"mocha":"^9.1.1"},"gitHead":"22457f9e2a6de4115df4a0f912b4d6097c87b91d","_id":"90crew-sqlite-async@0.0.3","_nodeVersion":"17.3.0","_npmVersion":"8.3.0","dist":{"integrity":"sha512-6Y2+5k7PbWgMwFV2hhUrWncVWH/xc0iPhMJt7Mkw09lXP2GS1D3dBoYSpyUMuFVnH2dRGsUoreWAo7CgNGTsfQ==","shasum":"0d41489fe760417aea218f4598b6dff40dbcf8e6","tarball":"https://registry.npmjs.org/90crew-sqlite-async/-/90crew-sqlite-async-0.0.3.tgz","fileCount":5,"unpackedSize":21720,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiDUdmCRA9TVsSAnZWagAACL4P/2KNvBNXRNtuAO+wIaHg\n3O5NxONb5t2lBG2iDsvj/0sg7ESI/h2Wu1W8QIBoBb+PbHp+3Km6zN0ZUvvY\n1lk/c1XxUQt9aifOFK6gpeQGy+5r2MLQ28lCzyOb6uM/8b88lrvS/CzEFo1d\nPugd9fydcTnX4p/fkTH2oScLccdZE0Bma7lLZEVmimTdFKNrMmlDLUbVEq5V\nlL6RygrIIJ0YcDqQX8mDUeNGJCmfd7nb6H5SCqvUQR6/1cItNwFNz/jTOUGp\nO6xtZKkB4kB/bfGWBMtu9IuHIELJJ7gPcmLJAJH/bD+e8krIDRzSIkbXeuma\npiHE8dodCS3pr/hLGlWmbkG32SVlU2Dq9lXXaTIjRsNeGc+btXOeoUSmst7g\nTXdyGwFvcGLZUNVLLUMNiWwsNWsSFI0zYkXwR1fiabgmAtdj8kCe32faNUKV\nOBpzNWaepN/v8uM4D7B2+SRq34Xlj5+RrGAgNNYSYDdmf+J7a/raRgGTAzgr\nrmP7z90poW0/X061XN0GzCJ4D2eR4XmMEzk090L7gn2nuWGxmzw1zCkpU88j\n1R9uPR5owl/Bnd+BwPwDdZI0jjwB9GaUYKVnk0g3TkMXwIkd89dUwD+QRyoI\nNtgil688gVMX500wWzQXbrp2EW7OpWg/5kSLu1pKHVXg0yhNy9mpkVDQwObA\nODVn\r\n=LJgq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIErBsP/18hbySGyxphdhII7zYF3BlWGflQQmXgE/XuhXAiBkR2cPuLjk4A7rxDyLEZjxA/dSnIRHWz3Iik5iprt/HA=="}]},"_npmUser":{"name":"taeyongha","email":"gkxo5959@naver.com"},"maintainers":[{"name":"taeyongha","email":"gkxo5959@naver.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/90crew-sqlite-async_0.0.3_1645037414313_0.3296800514055076"},"_hasShrinkwrap":false},"0.0.4":{"name":"90crew-sqlite-async","version":"0.0.4","description":"ES6 Promise-based interface to the sqlite3 module.","main":"sqlite-async.js","directories":{"test":"mocha"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/hatae94/sqlite-async.git"},"keywords":["SQLite","Async"],"author":{"name":"Frank Hellwig"},"license":"MIT","bugs":{"url":"https://github.com/hatae94/sqlite-async/issues"},"homepage":"https://github.com/hatae94/sqlite-async#readme","dependencies":{"sqlite3":"5.0.0"},"devDependencies":{"mocha":"^9.1.1"},"gitHead":"c06d49a969e87ee8dcd7458d3270b578814dfb53","_id":"90crew-sqlite-async@0.0.4","_nodeVersion":"17.3.0","_npmVersion":"8.3.0","dist":{"integrity":"sha512-vMgEcxPcRBTGpFAqr8bkmijifT1IDYzHD9Efw6QUfPrlp972U744hyRtIbDJe1hmFNwEfEzJyhXjqsB/BuEHfA==","shasum":"20da07ab16d04de73b319319f7b228ec884b522f","tarball":"https://registry.npmjs.org/90crew-sqlite-async/-/90crew-sqlite-async-0.0.4.tgz","fileCount":5,"unpackedSize":21719,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiDVDPCRA9TVsSAnZWagAAfkQP/AnOxkyUqXP8RsCXRYP+\nHNMUWIZSBvwsR3yu+/+Ws58HueAGjiTnTtwEYmFYtfP3G/aauyvs5AYDsqiK\nuhxHCua/s7v8zUmVGsC+OI7yE8MhsNj6wzMXiPtVGledIoh4zVpfIjU/Z1j7\nF2nD28rmFssKpBHtX965yqSUbG+qhD5gNK1+HnfvFi7W8rwCdneQ4xW2vhv8\nl3eInpRh1+xAlvyD39G6gRORaahF/4m+p7zUnSxtMy3af8a0cZI99erzsU+x\nuyahAtpusDsQOWwEYwM+P1c7PuZaV5DM5/A9GBBvv8dGu1gwStsbX6usaPDY\nmoN84kiob8P9medwDtnv0wE/WOi3YAHYl44tBKvdut+LIWNrVs2aguk72kuL\nKIEOnlWGdMki4mgpjzn3N6OLQ3JnKMYU7/yTyyPN8thNYgmd6WOeP6CFLSLv\numBtIGTjr+cYKNuFb/0lSuUeS0Q1/8JeNJUYDgXaA7uBEl8j9bn/coxLKAYp\n6spvKpfNCDSQYAUML5XgF6yriajcsyE2HyKBaw+lrJgp5XWfEZlG5uf+WCZi\nfAqgwvDbj4a7dZkGDVIzT7+jV7T0cfKH6Q1Fw+AjKgCSTN0DYHJinX4ODX00\n77+TbnkWLqpSYoqUQ/csU6Ht+UHFujTCiccnxMoegqEoLzRlYa3XsgT47IRy\nAEse\r\n=MBi6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCBXvms45WyfN4KlgF45LOLjrCRUJ+sbqEfQHi/K8h/oAIhAMm/D08ZMEVOd5cgXo978SDGUxuxEhsbcW3soywuhI7+"}]},"_npmUser":{"name":"taeyongha","email":"gkxo5959@naver.com"},"maintainers":[{"name":"taeyongha","email":"gkxo5959@naver.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/90crew-sqlite-async_0.0.4_1645039822973_0.01348882523395134"},"_hasShrinkwrap":false}},"time":{"created":"2022-02-16T18:10:54.645Z","1.1.2":"2022-02-16T18:10:54.868Z","modified":"2022-04-04T10:25:10.259Z","0.0.1":"2022-02-16T18:12:44.880Z","0.0.2":"2022-02-16T18:37:10.574Z","0.0.3":"2022-02-16T18:50:14.462Z","0.0.4":"2022-02-16T19:30:23.150Z"},"maintainers":[{"name":"taeyongha","email":"gkxo5959@naver.com"}],"description":"ES6 Promise-based interface to the sqlite3 module.","homepage":"https://github.com/hatae94/sqlite-async#readme","keywords":["SQLite","Async"],"repository":{"type":"git","url":"git+https://github.com/hatae94/sqlite-async.git"},"author":{"name":"Frank Hellwig"},"bugs":{"url":"https://github.com/hatae94/sqlite-async/issues"},"license":"MIT","readme":"# fork version\nchange sqlite 5.0.2 -> 5.0.0\n\n# sqlite-async\n\nES6 Promise-based interface to the sqlite3 module.\n\nThe `sqlite-async` module exports the `Database` class. Each method works the same as the original [`sqlite3 API`](https://github.com/mapbox/node-sqlite3/wiki/API). Instead of callbacks, each method returns a promise. The `prepare` method returns a `Statement` instance that also wraps all of the original statement methods into methods that return a promise.\n\n## Usage\n\n```javascript\nconst Database = require('sqlite-async')\n\nDatabase.open('test.db')\n    .then(db => {\n        ...\n    })\n    .catch(err => {\n        ...\n    })\n```\n\nThe `test/sqlite-async-test.js` file provides examples.\n\n## API\n\n### Database.SQLITE3_VERSION\n\nStatic getter that returns the version number of the `node-sqlite3` package currently being used by this module.\n\n### Database.open(filename, mode)\n\nStatic method that instantiates a new `Database` object and calls `Database#open(filename, mode)`. Returns a promise that is resolved with the Database instance.\n\n### Database#open(filename, mode)\n\nOpens the database with the same arguments as the sqlite3 `Database` constructor. Returns a promise that is resolved with the Database instance.\n\n### Database#close([fn])\n\nCloses the database and returns a promise. If the optional provider function (`fn`) is specified, it is called as `fn(db)` before the database is closed. **This function must return a promise.** The database is closed regardless of whether the promise returned by the optional provider function is resolved or rejected. If the returned promise is rejected, then the close method itself will return a rejected promise with the error from the promise returned by the provider function.\n\n### Database#run(sql, [param, ...])\n\nEquivalent to the sqlite3 `Database#run` method. Returns a promise that is resolved with the `this` parameter from the sqlite3 callback function.\n\n### Database#get(sql, [param, ...])\n\nEquivalent to the sqlite3 `Database#get` method. Returns a promise that is resolved with the row.\n\n### Database#all(sql, [param, ...])\n\nEquivalent to the sqlite3 `Database#all` method. Returns a promise that is resolved with the rows.\n\n### Database#each(sql, [param, ...], callback)\n\nEquivalent to the sqlite3 `Database#each` method. The per-row callback function is requied. Returns a promise that is resolved with the Database instance.\n\n### Database#exec(sql)\n\nEquivalent to the sqlite3 `Database#exec` method. Returns a promise that is resolved with the Database instance.\n\n### Database#transaction(fn)\n\nThe `transaction` method allows a function returning a promise to be wrapped in a transaction. The function is passed the `Database` instance as its parameter. Returns a promise that is resolved with the function's promise value.\n\n```javascript\ndb.transaction((db) => {\n    return Promise.all([\n        db.run('INSERT INTO test VALUES (2, \"two\")'),\n        db.run('INSERT INTO test VALUES (2, \"three\")')\n    ])\n})\n```\n\n### Database#prepare(sql, [param, ...])\n\nEquivalent to the sqlite3 `Database#prepare` method. Returns a promise that is resolved with the Statement instance.\n\n### Statement#bind([param, ...])\n\nEquivalent to the sqlite3 `Statement#bind` method. Returns a promise that is resolved with the Statement instance.\n\n### Statement#reset()\n\nEquivalent to the sqlite3 `Statement#reset` method. Returns a promise that is resolved with the Statement instance.\n\n### Statement#finalize()\n\nEquivalent to the sqlite3 `Statement#finalize` method. Returns a promise that is resolved with no value because the statement can no longer be used.\n\n### Statement#run([param, ...])\n\nEquivalent to the sqlite3 `Statement#run` method. Returns a promise that is resolved with the `this` parameter from the sqlite3 callback function.\n\n### Statement#get([param, ...])\n\nEquivalent to the sqlite3 `Statement#get` method. Returns a promise that is resolved with the row.\n\n### Statement#all([param, ...])\n\nEquivalent to the sqlite3 `Statement#all` method. Returns a promise that is resolved with the rows.\n\n### Statement#each([param, ...], callback)\n\nEquivalent to the sqlite3 `Statement#each` method. The per-row callback function is requied. Returns a promise that is resolved with the Statement instance.\n\n## License\n\nMIT License\n\nCopyright (c) 2021 Frank Hellwig\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","readmeFilename":"README.md"}