79701709

Date: 2025-07-15 07:35:04
Score: 0.5
Natty:
Report link
$query = $this->db->table('context')->where('table_id', $node['id'])->where('type_flow', 'conditions');

                     
                        
                        if ($query != null) {
                            continue;
                        } else {
                            $this->db->table('context')->insert([
                                'type_flow' => $node['name'],
                                'title' => $node['data']['title'],
                                'label' => $item['field'],
                                'type' =>  $item['type'],
                                'value' => $item['value'],
                                'table_id' => $node['id'],
                            ]);
                        }
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: qboshenkiy0_ Shirufietto