Commit e0e4f24
committed
feat(mongo): enhance custom MongoDB connection string handling
- Introduced a new utility function to build the MongoDB connection string dynamically, ensuring the database name is correctly set in the URL.
- Updated the custom connection string logic to utilize the new function, improving clarity and maintainability.
These changes enhance the flexibility of MongoDB configurations, ensuring accurate connection strings are generated based on provided parameters.
Signed-off-by: Innei <tukon479@gmail.com>1 parent 23abde6 commit e0e4f24
1 file changed
+12
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
237 | 248 | | |
238 | 249 | | |
239 | 250 | | |
| |||
250 | 261 | | |
251 | 262 | | |
252 | 263 | | |
253 | | - | |
| 264 | + | |
254 | 265 | | |
255 | 266 | | |
256 | 267 | | |
| |||
0 commit comments