Type:
Task
Priority:
Minor
Resolution:
Unresolved
Affects Version/s:
None
Fix Version/s:
None
Component/s:
None
from https://github.com/MariaDB/mariadb-connector-nodejs/issues/57
The Sequelize integration was incredible! Ready for Knex?
Wondering if everything already works?
Once I test it out...I'll let you know
Knex
https://www.npmjs.com/package/knex
Weekly Downloads: 283,939
Node.js
The primary target environment for Knex is Node.js, you will need to install the knex library, and then install the appropriate database library: pg for PostgreSQL and Amazon Redshift, mysql for MySQL or MariaDB, sqlite3 for SQLite3, or mssql for MSSQL.
$ npm install knex --save
Then add one of the following (adding a --save) flag:
$ npm install pg
$ npm install sqlite3
$ npm install mysql
$ npm install mysql2
$ npm install oracle
$ npm install mssql
---> ### If you want to use a MariaDB instance, you can use the mysql driver.
There are no comments yet on this issue.
{"report":{"fcp":852.6000001430511,"ttfb":163.29999995231628,"pageVisibility":"visible","entityId":76663,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"0e50fa29-ded9-4a83-bc2e-1b1617b8d2b9","navigationType":0,"readyForUser":914.7000000476837,"redirectCount":0,"resourceLoadedEnd":804.2999999523163,"resourceLoadedStart":170.10000014305115,"resourceTiming":[{"duration":33.299999952316284,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":170.10000014305115,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":170.10000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":203.40000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":36.89999985694885,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/css/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":170.40000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":170.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":207.29999995231628,"responseStart":0,"secureConnectionStart":0},{"duration":99.29999995231628,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":170.5,"connectEnd":170.5,"connectStart":170.5,"domainLookupEnd":170.5,"domainLookupStart":170.5,"fetchStart":170.5,"redirectEnd":0,"redirectStart":0,"requestStart":170.5,"responseEnd":269.7999999523163,"responseStart":269.7999999523163,"secureConnectionStart":170.5},{"duration":219.79999995231628,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/js/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":170.70000004768372,"connectEnd":170.70000004768372,"connectStart":170.70000004768372,"domainLookupEnd":170.70000004768372,"domainLookupStart":170.70000004768372,"fetchStart":170.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":170.70000004768372,"responseEnd":390.5,"responseStart":390.5,"secureConnectionStart":170.70000004768372},{"duration":223.70000004768372,"initiatorType":"script","name":"https://jira.mariadb.org/s/a9324d6758d385eb45c462685ad88f1d-CDN/lu2cib/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":171,"connectEnd":171,"connectStart":171,"domainLookupEnd":171,"domainLookupStart":171,"fetchStart":171,"redirectEnd":0,"redirectStart":0,"requestStart":171,"responseEnd":394.7000000476837,"responseStart":394.7000000476837,"secureConnectionStart":171},{"duration":223.90000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":171.20000004768372,"connectEnd":171.20000004768372,"connectStart":171.20000004768372,"domainLookupEnd":171.20000004768372,"domainLookupStart":171.20000004768372,"fetchStart":171.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":171.20000004768372,"responseEnd":395.10000014305115,"responseStart":395.10000014305115,"secureConnectionStart":171.20000004768372},{"duration":224,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":171.5,"connectEnd":171.5,"connectStart":171.5,"domainLookupEnd":171.5,"domainLookupStart":171.5,"fetchStart":171.5,"redirectEnd":0,"redirectStart":0,"requestStart":171.5,"responseEnd":395.5,"responseStart":395.5,"secureConnectionStart":171.5},{"duration":262,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2cib/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":171.60000014305115,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":171.60000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":433.60000014305115,"responseStart":0,"secureConnectionStart":0},{"duration":224.20000004768372,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":171.79999995231628,"connectEnd":171.79999995231628,"connectStart":171.79999995231628,"domainLookupEnd":171.79999995231628,"domainLookupStart":171.79999995231628,"fetchStart":171.79999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":171.79999995231628,"responseEnd":396,"responseStart":396,"secureConnectionStart":171.79999995231628},{"duration":261.7999999523163,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.css?jira.create.linked.issue=true","startTime":171.90000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":171.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":433.7000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":224.59999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/5d5e8fe91fbc506585e83ea3b62ccc4b-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.js?jira.create.linked.issue=true&locale=en","startTime":172.10000014305115,"connectEnd":172.10000014305115,"connectStart":172.10000014305115,"domainLookupEnd":172.10000014305115,"domainLookupStart":172.10000014305115,"fetchStart":172.10000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":172.10000014305115,"responseEnd":396.7000000476837,"responseStart":396.7000000476837,"secureConnectionStart":172.10000014305115},{"duration":385,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":172.90000009536743,"connectEnd":172.90000009536743,"connectStart":172.90000009536743,"domainLookupEnd":172.90000009536743,"domainLookupStart":172.90000009536743,"fetchStart":172.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":172.90000009536743,"responseEnd":557.9000000953674,"responseStart":557.9000000953674,"secureConnectionStart":172.90000009536743},{"duration":607.6000001430511,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":173,"connectEnd":173,"connectStart":173,"domainLookupEnd":173,"domainLookupStart":173,"fetchStart":173,"redirectEnd":0,"redirectStart":0,"requestStart":173,"responseEnd":780.6000001430511,"responseStart":780.6000001430511,"secureConnectionStart":173},{"duration":97.69999980926514,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":461.10000014305115,"connectEnd":461.10000014305115,"connectStart":461.10000014305115,"domainLookupEnd":461.10000014305115,"domainLookupStart":461.10000014305115,"fetchStart":461.10000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":461.10000014305115,"responseEnd":558.7999999523163,"responseStart":558.7999999523163,"secureConnectionStart":461.10000014305115},{"duration":39.89999985694885,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2cib/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/css/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":764.4000000953674,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":764.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":804.2999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":223.39999985694885,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/e65b778d185daf5aee24936755b43da6/_/download/contextbatch/js/browser-metrics-plugin.contrib,-_super,-project.issue.navigator,-jira.view.issue,-atl.general/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":765.4000000953674,"connectEnd":765.4000000953674,"connectStart":765.4000000953674,"domainLookupEnd":765.4000000953674,"domainLookupStart":765.4000000953674,"fetchStart":765.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":765.4000000953674,"responseEnd":988.7999999523163,"responseStart":988.7999999523163,"secureConnectionStart":765.4000000953674},{"duration":237.80000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/s/097ae97cb8fbec7d6ea4bbb1f26955b9-CDN/lu2cib/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/js/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":765.7999999523163,"connectEnd":765.7999999523163,"connectStart":765.7999999523163,"domainLookupEnd":765.7999999523163,"domainLookupStart":765.7999999523163,"fetchStart":765.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":765.7999999523163,"responseEnd":1003.6000001430511,"responseStart":1003.6000001430511,"secureConnectionStart":765.7999999523163},{"duration":180.10000014305115,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":845.7999999523163,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":845.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1025.9000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":159.29999995231628,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":869,"connectEnd":869,"connectStart":869,"domainLookupEnd":869,"domainLookupStart":869,"fetchStart":869,"redirectEnd":0,"redirectStart":0,"requestStart":869,"responseEnd":1028.2999999523163,"responseStart":1028.2999999523163,"secureConnectionStart":869}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":14,"responseStart":163,"responseEnd":165,"domLoading":168,"domInteractive":973,"domContentLoadedEventStart":973,"domContentLoadedEventEnd":1020,"domComplete":1081,"loadEventStart":1081,"loadEventEnd":1081,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":955.2999999523163},{"name":"bigPipe.sidebar-id.end","time":956.1000001430511},{"name":"bigPipe.activity-panel-pipe-id.start","time":956.5},{"name":"bigPipe.activity-panel-pipe-id.end","time":956.9000000953674},{"name":"activityTabFullyLoaded","time":1029.2000000476837}],"measures":[],"correlationId":"b8a906a0a787a4","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":93,"dbReadsTimeInMs":11,"dbConnsTimeInMs":21,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}