Class CreateStatement


  • public final class CreateStatement
    extends Object
    Represents an "CREATE" sql statement
    • Method Detail

      • tableName

        public CreateStatement tableName​(String name)
        Mark the name of the created table.
        Parameters:
        name - the name of the table which is going to be created
        Returns:
        this instance for chaining
      • columns

        public CreateStatement columns​(String... columns)
        Mark the columns the table is going to have
        Parameters:
        columns - columns
        Returns:
        this instance for chaining