mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-12 18:46:24 +05:00
- Set (but comment) serverAPI options (currently distinct api and create.size BSON field are deprecated + possible others that are untested) - Rename and refactor 'TimeDecodeValue1' to 'decodeTimeValue', add nil case handling - Implement 'buildURL' function to connect to mongo (can also be used for mysql and postgres) - Update function names, variable names, and comments for clarity - Replace 'bsonx.Regex' with the Regex primitive for v1.12 compatibility - Use simple concatenation instead of Sprintf - Declare 'timeType' locally, replace global 'tTime' - Use 'RegisterTypeDecoder' to replace deprecated 'RegisterDecoder' - Simplify several functions without altering functionality - Remove redundant 'storageType' field in 'mongoStorage', use 'isDataDB' instead
3.7 KiB
3.7 KiB