Enforce Custom Logic with Check Constraints in Postgres

Share this video with your friends

Send Tweet

What if your tables need custom constraints? A movie should only receive 1-5 stars, never 0 or 6. Price after tax should always equal the sum of the price plus tax. Check constraints help you enforce your own custom logic.

Lucas
Lucas
~ 7 years ago

Is there any particular reason why the videos are so fast paced?