Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
squerylスキーマの列の組み合わせで一意の制約を定義するにはどうすればよいですか?
A | B 2 1 allow 2 3 allow 3 1 allow 2 1 don't allow same with row one
これを試しましたか?
on(authors)(s => declare( columns(s.firstName, s.lastName) are(unique) ))
http://squeryl.org/schema-definition.html