Tags: mechta-market/mobone
Tags
Add unit tests and update logic for ConstructSortColumns Refactor `ConstructSortColumns` to use a map for allowed fields, improving flexibility. Add comprehensive unit tests to cover various sorting scenarios, ensuring correctness and robustness for valid, invalid, and mixed inputs.
Add DeleteModelI interface and update Delete method signature Introduced a new DeleteModelI interface with a PKColumnMap method to standardize deletion operations. Updated the Delete method to use this interface, ensuring clearer and more consistent behavior. Minor formatting adjustments to improve code readability.
PreviousNext