PhpStorm 2017.1 Help

Import File dialog when called from the table editor

This dialog opens when exporting delimiter-separated values from the table editor to a database.


Table name, structure and data mappings

ItemDescription
Table The name of the table.
Comment The table comment.
Columns / Keys etc. Data mappings for columns, and the definitions of the columns, constraints and indexes.
  • To start editing the information for a column, double-click the corresponding line in the list of columns.

    Note the Mapped to field. This field lets you specify which data column in the file being imported should be used as a source of data for the corresponding column in the database. If you clear this field, no data will be added to the target column in the database.

  • To remove a column, select the corresponding line and click /help/img/idea/2017.1/delete.png.

DDL preview

The statement or statements that will be run. You can edit the statements right in this pane.

Encoding, Write errors to file and Insert inconvertible values as null

ItemDescription
EncodingThe character encoding for your data in the source file.
Write errors to fileIf you select the check box, the lines that cannot be imported are written to the specified text file.
Insert inconvertible values as nullIf you select the check box, NULLs will be inserted into the table for the data that cannot be converted.

See Also

Last modified: 19 July 2017