Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The prop value to support increment #3220

Open
zuoxingda opened this issue Oct 27, 2021 · 2 comments
Open

The prop value to support increment #3220

zuoxingda opened this issue Oct 27, 2021 · 2 comments
Labels
community Source: who proposed the issue type/feature req Type: feature request

Comments

@zuoxingda
Copy link

*您的特性请求是否与某个问题相关?请描述 *

比如,根据手机里的 通话记录 数据,建立通联关系(属性有:关系次数,关系首次发生时间,关系最近一次发生时间)
这种 通联关系里的属性,每次都要 先把 这条关系的数据拿出来,然后计算后 再次插入。

**描述你想要的解决方案
希望 通联关系里的属性,比如关系次数的属性值做成类似 redis 里的自增,关系首次发生时间 为 最小时间,关系最近一次发生时间 为最大时间

@zuoxingda zuoxingda added the type/feature req Type: feature request label Oct 27, 2021
@Sophie-Xie Sophie-Xie changed the title 增加如下特性 The prop value of the relationship times can be increased Oct 27, 2021
@wey-gu wey-gu changed the title The prop value of the relationship times can be increased The prop value to support increment Oct 28, 2021
@wey-gu
Copy link
Contributor

wey-gu commented Dec 7, 2021

@sworduo
Copy link
Contributor

sworduo commented Dec 30, 2021

More mates are requiring this feature:

Maybe there are two types of features here.
First, like incr operation in redis which can atomically increment the value of prop. More likely a Syntactic sugar of upset operation. Typing 'INCR PLAYER.AGE on 'TOM'' may be easier than "UPSET VERTEX ON PLAYER 'Tom' SET age = age + 1'

Second, they want auto_increment like mysql and be able to customize the start value.

@Sophie-Xie Sophie-Xie added the community Source: who proposed the issue label Mar 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Source: who proposed the issue type/feature req Type: feature request
Projects
None yet
Development

No branches or pull requests

4 participants