Change Password

Input error
Input error
Input error
Submit

Change Nickname

Current Nickname:
Submit
Search
v4.0
    v4.0

    Property Management

    List Property

    from ultipa import Connection
    from ultipa import UltipaConfig,ULTIPA_REQUEST,ULTIPA
    defaultConfig = UltipaConfig()
    conn = Connection.GetConnection(hosts=["host:port"],username="root",
                                    password="root",defaultConfig=defaultConfig)
    ret = conn.listProperty()
    print(ret.toJSON())
    

    Get Property

    Get property information of a specified Schema

    from ultipa import Connection
    from ultipa import UltipaConfig,ULTIPA_REQUEST,ULTIPA
    defaultConfig = UltipaConfig()
    conn = Connection.GetConnection(hosts=["host:port"],username="root",
                                    password="root",defaultConfig=defaultConfig)
    ret = conn.getProperty(ULTIPA_REQUEST.GetProperty(type=ULTIPA.DBType.DBNODE, schema="default"))
    print(ret.toJSON())
    

    Create Property

    from ultipa import Connection
    from ultipa import UltipaConfig,ULTIPA_REQUEST,ULTIPA
    defaultConfig = UltipaConfig()
    conn = Connection.GetConnection(hosts=["host:port"],username="root",
                                    password="root",defaultConfig=defaultConfig)
    createProperty = ULTIPA_REQUEST.CreateProperty(type=ULTIPA.DBType.DBNODE,
                  commonSchema=ULTIPA_REQUEST.CommonSchema('test','test_str'),
                  description='test',propertyType=ULTIPA.CreatePropertyType.PROPERTY_STRING)
    ret = conn.createProperty(request=createProperty)
    print(ret.toJSON())
    

    Alter Property

    from ultipa import Connection
    from ultipa import UltipaConfig,ULTIPA_REQUEST,ULTIPA
    defaultConfig = UltipaConfig()
    conn = Connection.GetConnection(hosts=["host:port"],username="root",
                                    password="root",defaultConfig=defaultConfig)
    ret = conn.alterProperty(
                ULTIPA_REQUEST.AlterProperty(type=ULTIPA.DBType.DBEDGE, newName='new_name',
                                             commonSchema=ULTIPA_REQUEST.CommonSchema(schema='test', property='test')))
    print(ret.toJSON())
    

    Drop Property

    from ultipa import Connection
    from ultipa import UltipaConfig,ULTIPA_REQUEST,ULTIPA
    defaultConfig = UltipaConfig()
    conn = Connection.GetConnection(hosts=["host:port"],username="root",
                                    password="root",defaultConfig=defaultConfig)
    ret = conn.dropProperty(ULTIPA_REQUEST.DropProperty(type=ULTIPA.DBType.DBNODE,
                            commonSchema=ULTIPA_REQUEST.CommonSchema('test', 'test_str')))
    print(ret.toJSON())
    
    Please complete the following information to download this book
    *
    公司名称不能为空
    *
    公司邮箱必须填写
    *
    你的名字必须填写
    *
    你的电话必须填写
    *
    你的电话必须填写