What is an “order line”?

It refers to a “Purchase Order” which typically consists of one or more lines, called “Order Lines”. As almost every business on earth has some similar record of it’s orders, purchases and/or sales, it has been the canonical real-world data example of a Parent-Child (or Master-Detail) relationship for as long as databases have existed (well … Read more

Data modeling in Datomic

Caveat Lector As Datomic is new and my experience with it is limited, this answer shouldn’t be considered best practices in any way. Take this instead as an intro to Datomic for those with a relational background and a hankering for a more productive data store. Getting Started In Datomic, you model your domain data … Read more

Crow’s Feet – One vs One And Only One

I think n.piskunov is on the right track. I would use it as the mathematical analogy found here: https://math.stackexchange.com/questions/247380/analogy-between-one-and-only-one-and-if-and-only-if “existence of at most one such X that satisfies Y.” As an example, consider these relations: A student, Alice, can only have one dorm room at at time. A dorm room can only house one student … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)