lib/utils.js
function addOptions(queryOptions, options) {
	const {transaction, logging} = options;
	if (transaction !== undefined) queryOptions.transaction = transaction;
	if (logging !== undefined) queryOptions.logging = logging;
	return queryOptions;
}
function addOptions(queryOptions, options) {
	const {transaction, logging} = options;
	if (transaction !== undefined) queryOptions.transaction = transaction;
	if (logging !== undefined) queryOptions.logging = logging;
	return queryOptions;
}
function addOptions ( queryOptions , options ) { const { transaction , logging } = options ; if ( transaction !== undefined ) queryOptions . transaction = transaction ; if ( logging !== undefined ) queryOptions . logging = logging ; return queryOptions ; }
Add transaction and logging from options to query options
Add transaction and logging from options to query options