17 lines
371 B
JavaScript
17 lines
371 B
JavaScript
// backend/config/mysqlPool.js
|
|
import {
|
|
query as queryWrapped,
|
|
exec as executeWrapped,
|
|
pool as rawPool,
|
|
getConnection,
|
|
end
|
|
} from '../shared/db/withEncryption.js'; // ../ (up one)
|
|
// then shared/…
|
|
export default {
|
|
query : queryWrapped,
|
|
execute : executeWrapped,
|
|
getConnection,
|
|
end,
|
|
raw: rawPool
|
|
};
|