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

Vertex必须有非@Id的属性才能正确生成insert语句 #190

Closed
xingsheq opened this issue Aug 2, 2023 · 1 comment · Fixed by #192, #256 or #266
Closed

Vertex必须有非@Id的属性才能正确生成insert语句 #190

xingsheq opened this issue Aug 2, 2023 · 1 comment · Fixed by #192, #256 or #266
Labels
bug Something isn't working

Comments

@xingsheq
Copy link

xingsheq commented Aug 2, 2023

按下面定义生成的sql如下,不带tag,必须再定义一个属性才能正确生成sql
@DaTa
@table(name = "host")
@space(name = "xx")
public class HostVertex{

@Id
String name;

}

sql:
INSERT VERTEX IF NOT EXISTS
VALUES 'aaaaaaaaa' : (

    );
@CorvusYe
Copy link
Collaborator

CorvusYe commented Aug 2, 2023

问题已重现,考虑不周了😂。今明两天修复。flag先立~

@CorvusYe CorvusYe added the bug Something isn't working label Aug 2, 2023
CorvusYe added a commit to CorvusYe/ngbatis that referenced this issue Aug 3, 2023
CorvusYe added a commit that referenced this issue Aug 15, 2023
fix #190: Insert failed when tag has no attributes & thin the package
@CorvusYe CorvusYe mentioned this issue Nov 14, 2023
@CorvusYe CorvusYe mentioned this issue Nov 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants