【Lazy ORM】insert 使用

Gitee
版本信息 1.2.2-JDK17-SNAPSHOT

insert使用

    public void insert() {
        LazyUserTest lazyUserTest = new LazyUserTest();
        lazyUserTest.setUsername("紧");
        lazyUserTest.setSex(LazyUserTest.Sex.MAN);
        lazyUserTest.setId(12L);
        lazyLambdaStream.insert(lazyUserTest);
        // insert into lazy_user_test (id,username,birthday,sex,age,is_deleted) VALUES (12,'紧',null,'MAN',null,null)
    }

你可能感兴趣的:(Lazy,ORM,数据库,Lazy,ORM)