object DMDB: TDMDB
  OldCreateOrder = False
  OnCreate = DataModuleCreate
  Height = 249
  Width = 575
  object qSelect: TFDQuery
    SQL.Strings = (
      'SELECT * FROM treeview_db.tree;')
    Left = 96
    Top = 48
  end
  object qInsert: TFDQuery
    SQL.Strings = (
      
        'INSERT INTO `treeview_db`.`tree` (`IdParent`, `Name`, `Index`) V' +
        'ALUES (:name, :idParent, :index);'#10)
    Left = 160
    Top = 56
    ParamData = <
      item
        Name = 'NAME'
        ParamType = ptInput
      end
      item
        Name = 'IDPARENT'
        ParamType = ptInput
      end
      item
        Name = 'INDEX'
        ParamType = ptInput
      end>
  end
  object qEdit: TFDQuery
    SQL.Strings = (
      'UPDATE TREE SET Name=:Name WHERE id=:id;')
    Left = 224
    Top = 64
    ParamData = <
      item
        Name = 'NAME'
        ParamType = ptInput
      end
      item
        Name = 'ID'
        ParamType = ptInput
      end>
  end
  object qDelete: TFDQuery
    SQL.Strings = (
      'delete from treeview_db.treewhere id=:id;')
    Left = 288
    Top = 80
    ParamData = <
      item
        Name = 'ID'
        ParamType = ptInput
      end>
  end
  object qGetKey: TFDQuery
    SQL.Strings = (
      'SELECT Max(id) as newkey FROM treeview_db.tree;')
    Left = 352
    Top = 96
  end
  object FDConnection: TFDConnection
    Left = 48
    Top = 128
  end
  object FDPhysMySQLDriverLink: TFDPhysMySQLDriverLink
    Left = 96
    Top = 176
  end
end
