mirror of
https://github.com/swc-project/swc.git
synced 2024-12-30 09:03:37 +03:00
27 lines
476 B
TypeScript
27 lines
476 B
TypeScript
|
// Loaded from https://raw.githubusercontent.com/denjucks/dex/master/lib/query/constants.js
|
||
|
|
||
|
|
||
|
/**
|
||
|
* internal constants, do not use in application code
|
||
|
*/
|
||
|
export const lockMode = {
|
||
|
forShare: 'forShare',
|
||
|
forUpdate: 'forUpdate',
|
||
|
}
|
||
|
|
||
|
export const waitMode = {
|
||
|
skipLocked: 'skipLocked',
|
||
|
noWait: 'noWait',
|
||
|
}
|
||
|
|
||
|
export default {
|
||
|
lockMode: {
|
||
|
forShare: 'forShare',
|
||
|
forUpdate: 'forUpdate',
|
||
|
},
|
||
|
waitMode: {
|
||
|
skipLocked: 'skipLocked',
|
||
|
noWait: 'noWait',
|
||
|
},
|
||
|
};
|