mysql2pgsql/lib/postgres_file_writer.py
def write_constraints(self, table):
        """Write DDL of `table` constraints to the output file

        :Parameters:
          - `table`: an instance of a :py:class:`mysql2pgsql.lib.mysql_reader.MysqlReader.Table` object that represents the table to read/write.

        Returns None
        """
        self.f.write('\n'.join(super(PostgresFileWriter, self).write_constraints(table)))
def write_constraints(self, table):
        self.f.write('\n'.join(super(PostgresFileWriter, self).write_constraints(table)))
def write_constraints ( self , table ) : self . f . write ( '\n' . join ( super ( PostgresFileWriter , self ) . write_constraints ( table ) ) )
Write DDL of `table` constraints to the output file

        :Parameters:
          - `table`: an instance of a :py:class:`mysql2pgsql.lib.mysql_reader.MysqlReader.Table` object that represents the table to read/write.

        Returns None
Write DDL of table constraints to the output file