This is a bitwise operator. Basically, tables to be deleted from will store several tables in a single integer field, creating a bitwise combination of values ββfor the tables. Here is an example.
1 - TableA 2 - TableB 4 - TableC 8 - TableD
TableA and TableB = 1 | 2 = 3. (You use the OR operator to get the result, and the AND operator to check the result). Thus, the value 3 is stored in the field. You can then use the ampersand operator to find out if a value has been set. 1 and 3 == 1, so table A will be deleted. 4 and 3 = 0, so TableC will not be deleted.
source share