美文网首页
DDL-Data definition language

DDL-Data definition language

作者: Zihowe | 来源:发表于2017-08-05 05:03 被阅读17次

    A data definition language or data description language (DDL) is a syntax similar to a computer programming language for defining data structures, especially database schemas.

    In Djanog, what the DDL is the Migration operations. You just change the model in Djano and it will create migration operations automatically for you and run sql like this migrations.RunSQL("INSERT INTO musician (name) VALUES ('Reinhardt');")


    References:
    https://en.wikipedia.org/wiki/Data_definition_language
    https://docs.djangoproject.com/en/1.11/ref/migration-operations/

    相关文章

      网友评论

          本文标题:DDL-Data definition language

          本文链接:https://www.haomeiwen.com/subject/ywhilxtx.html