Closed Arwask closed 6 years ago
Note to self: remember to store true/false as text in db since sqlite3 doesn't support booleans
We should decide what value we want to use for boolean in sqlite3. 0, 1, "true", "false"?
Just an update. This won't be handled by looking at a property active
on a customer
, but through joining Customers
& Orders
, returning Customers
who do not appear on the customer_id
prop of Orders
Refer to #92
By using the URL parameter
/customers/?active=false
, the JSON response should only contain customers that don't have any orders placed yet.