문제

Is it possible to create compound-Primary-key in Models in lift ? If yes, how ?

도움이 되었습니까?

해결책

No, it's not possible in lift according to this mailing list, where David Pollak say's

It's pretty non-trivial. I made some huge mistakes with Mapper and making it super-not-easy to do compound PKs was one of a long list of blunders. Sorry... but if I had a time machine, I'd got back 3 1/2 years and leave a note for myself that includes "Support compound primary keys in Mapper.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top