Hi All,
I have a question which I think I know the answer to but I'd like to confirm.
I have a table/model that when I return the objects or list of objects, I want all the columns (15 of them) to be returned except 2. Is there a way to do that? Currently, I'm doing this (as per documentation)
session.query(User).options(load_only("first_name", "last_name", ......))
for all my queries and it is rather tedious and just makes the codes look ugly.
Is there a command that I can use for all queries that would return all by 2 columns unless I tell it not to?
Thanks.
Desmond