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

关联表数据能自动存储吗? #824

Open
yilylong opened this issue Jun 28, 2023 · 0 comments
Open

关联表数据能自动存储吗? #824

yilylong opened this issue Jun 28, 2023 · 0 comments

Comments

@yilylong
Copy link

class TestA:LitePalSupport() {
var id=0L
var v1 = ""
var v2 = ArrayList()
}
class TestB : LitePalSupport() {
var id = 0L
var v1 = ""
}
TestA持有TestB的集合,目前只能先把TestA的集合里面的TestB先save才会有数据。可以在TestA save的时候自动存储集合里面的TestB吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant