Follow-up issue opened as requested by @fengmk2 to ensure that the fix from PR #326 (https://github.com/eggjs/tegg/pull/326) is cherry-picked to the `next` branch. Context: - PR: https://github.com/eggjs/tegg/pull/326 - Comment: https://github.com/eggjs/tegg/pull/326#issuecomment-<comment_id> - Fix: resolves incorrect code generation when using multi-column primary keys. Tasks: 1. Cherry-pick the commit(s) from PR #326 into the `next` branch. 2. Run the DAL code generator and ensure composite primary-key DAOs are generated correctly. 3. Close this issue once the backport is merged. Opened by CodeRabbit on behalf of @fengmk2.