-
Notifications
You must be signed in to change notification settings - Fork 33
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
add nocache option? #13
Comments
Hey @godcong 👋 Did you see the u := client.T.Get(ctx, id)
u, _ = u.Update().SetName("nottest").Save(entcache.Evict(ctx)) Or: u := client.T.Get(ctx, id)
u.Update().SetName("nottest").Exec(ctx)
u := client.T.Get(entcache.Evict(ctx), id) We plan to introduce an automatic eviction mechanism at some point using (partial) SQL parsers. This will improve a lot the developer experience. |
This function is possible, but it can only specify to the statement level.
like this:
In And,
The 4 println statements all print out |
@a8m could you please take a look on this? |
Thanks, guys for the report. I'll give it a look |
hi, @a8m |
@a8m could you please take a look on this? |
I don't think it's necessary to cache all tables |
Example.
name=test
.So, should an option be added in this case to turn off the cache?
The text was updated successfully, but these errors were encountered: