For example: We have a document like this one;
clubs:{
cid: 1,
cname: "Fenerbahce",
cplayers: [{
pid: 1,
Error that we handled:
syntax error, unexpected end of file in /var/www/vhosts/username/httpdocs/index.php on line 248
This error occurs because of short_open_tag option in PHP settings. If you are sure your code is clear and does not include syntax error, you should open short_open_tag option. This feature is closed by default.
CASCADE: This enables us to remove its all adopted records when parent is deleted. For example, we have removed blog record, its adopted comment records will be deleted.
RESTRICT: This enables us to prevent deletion of record when it has a adopted record at least.
These enable us to set data that we want into relation column of adopted records that we will remove its parent.