Cody Oakes
DTDrizzle Team
•Created by Cody Oakes on 1/7/2025 in #help
Generated Postgres Column adding together other columns that may have null values
gotcha ya with the
coalesce
ended up looking like
@Mario564 thank you for your help!14 replies
DTDrizzle Team
•Created by Cody Oakes on 1/7/2025 in #help
Generated Postgres Column adding together other columns that may have null values
Hmm, looks like I get a type error if I try to change the schema file to :
14 replies
DTDrizzle Team
•Created by Cody Oakes on 1/7/2025 in #help
Generated Postgres Column adding together other columns that may have null values
You think I can remove the table name from the schema file and drizzle will produce the migration that way? Also why doesn't it work with table names?
14 replies
DTDrizzle Team
•Created by Cody Oakes on 1/7/2025 in #help
Generated Postgres Column adding together other columns that may have null values
Nice that worked!
14 replies
DTDrizzle Team
•Created by Cody Oakes on 1/7/2025 in #help
Generated Postgres Column adding together other columns that may have null values
14 replies
DTDrizzle Team
•Created by Cody Oakes on 1/7/2025 in #help
Generated Postgres Column adding together other columns that may have null values
@Mario564 Thanks for the quick reply! I attempted Postgres'
coalesce
function for the total_quantity field but if one of the supplyItem.locationXquantity values is null the total_quantity values ends up being null as well...am I missing something in the syntax?
14 replies