budibase/packages/server/src/db
Rory Powell 79226777b1 Merge develop 2022-09-28 08:56:45 +01:00
..
linkedRows Merge develop 2022-09-28 08:56:45 +01:00
tests Initial version of memory leak protection, making sure that PouchDB databases are closed correctly after use, using a combination of closures wrapping DB gets (this replaces the getDB, leaving only a dangerousGetDB function which can be used in very very specific scenarios) and then closing the DB as part of CLS hooked functions finishing. Also moving the GlobalDB init to the tenancy middleware as this is used everywhere in the worker/app services - means that not all getGlobalDB calls require an async closure around them. 2022-04-19 19:42:52 +01:00
views Merge develop 2022-09-28 08:56:45 +01:00
dynamoClient.js Merge develop 2022-09-28 08:56:45 +01:00
inMemoryView.js Some updates, making sure databases will always close directly using finally checks around the actual tasks, updating how replication works to have a close statement (to make sure it is controlled correctly) and then updating to PouchDB 7.3.0 for one of the memory leak fixes. 2022-04-20 17:33:42 +01:00
index.js Merge develop 2022-09-28 08:56:45 +01:00
newid.js lint:fix 2021-05-03 09:31:09 +02:00
utils.js Merge develop 2022-09-28 08:56:45 +01:00