ios - Is that possible to add a value in a core data fetch? -
suppose have core data structure:
code name address value
is possible add 100 value during fetch? mean, receive fetch results values values on database + 100?
i know can enumerate results after , change value wondering if there way while fetch.
no, fetch can give literal contents of persistent store. if you're fetching managed object subclass might consider adding computed property category method returns named field plus 100; if you're fetching dictionaries you'll have modify them (which hassle they'll come immutable).
Comments
Post a Comment