vesoft-inc/nebula

enhance for "if not exists"

オープン

#1,591 opened on 2020/01/06

 (8 件のコメント) (0 件のリアクション) (0 人の担当者)C++ (1,144 件のフォーク)batch import
good first issueneed to discusstype/enhancement

Repository metrics

Stars
 (9,828 個のスター)
PR merge metrics
 (PR metrics pending)

説明

  1. create an edgetype with prop
> create edge choose(grade int)
  1. create the edgetype without any prop using if not exists
> create edge if not exists choose()
Execution succeeded (Time spent: 12.129/13.466 ms)
  1. check the schema of choose
describe edge choose;
================
| Field | Type |
================
| grade | int  |
----------------
Got 1 rows (Time spent: 13.604/15.04 ms)

In step 2, maybe "the edgetype exists, we will not create" is more user-friendly than "Execution succeeded"

コントリビューターガイド