https://kotlinlang.org logo
d

David Glasser

06/03/2020, 6:31 PM
is there a way to set the “default slice” for a table? like let’s say there’s a column that i want to read in literally one codepath in my entire codebase and it doesn’t need to ever get read unless i actively add it with
.slice
. is that possible (if i do want to be able to be lazy and use the default ‘all columns’ slice in many places)?
like if I just override
fields
on a specific table will i be very sad?
s

spand

06/04/2020, 8:09 AM
I dont think so but you can make your own
.mySlice()
that works like that
4 Views