Logo
Explore Help
Register Sign In
yujunjun/knex
1
0
Fork 0
You've already forked knex
mirror of https://github.com/knex/knex.git synced 2025-10-04 04:26:53 +00:00
Code Issues Packages Projects Releases Wiki Activity
knex/lib/dialects/websql/transaction.js

16 lines
314 B
JavaScript
Raw Normal View History

Cleaning up WebSQL & Oracle transaction implementations
2015-04-22 15:24:29 -04:00
Major internal refactor Beefed up transaction implementation, still needs tests and cleanup of nested transaction queues. Left todo: - Fix commented out tests - Fix oracle driver's transactions
2015-04-22 10:34:14 -04:00
var makeKnex = require('../../util/make-knex')
Fixing the overall class dependency approach, lots of internal cleanup, WIP
2015-04-19 16:31:52 -04:00
function Transaction_WebSQL(client) {
this.client = client
}
Transaction_WebSQL.prototype.run = function(container) {
Cleaning up WebSQL & Oracle transaction implementations
2015-04-22 15:24:29 -04:00
var client = this.client
Fixing the overall class dependency approach, lots of internal cleanup, WIP
2015-04-19 16:31:52 -04:00
return Promise.try(function() {
Major internal refactor Beefed up transaction implementation, still needs tests and cleanup of nested transaction queues. Left todo: - Fix commented out tests - Fix oracle driver's transactions
2015-04-22 10:34:14 -04:00
return container(makeKnex(client))
Fixing the overall class dependency approach, lots of internal cleanup, WIP
2015-04-19 16:31:52 -04:00
})
}
Cleaning up WebSQL & Oracle transaction implementations
2015-04-22 15:24:29 -04:00
module.exports = Transaction_WebSQL
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.5 Page: 134ms Template: 9ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API