2.1 and "cascade delete"

hello -

in my earlier question , i received this back for my answer about cascade delete:

For this you may need to wait until 2.1

i see that 2.1 is available in alpha release. does 2.1 now handle cascade delete behaviour?

Hi @edwardsmarkf! ON DELETE CASCADE is in 2.0. You don’t even need a 2.1 alpha. https://www.cockroachlabs.com/docs/v2.0/foreign-key.html#foreign-key-actions-new-in-v2-0

1 Like