Skip to main content
shilpak0002
October 18, 2021
Question

Annotations

  • October 18, 2021
  • 4 replies
  • 0 views

What annotations will be used if we have to skip a particular field and the remaining fields fetch in the database? ex: i have 10 fields but i need only 9 fields and those are fetched in the database?

    4 replies

    stefanhelzle0001
    Brainy
    October 18, 2021

    I can not follow. Please elaborate.

    shilpak0002
    October 18, 2021

    supose i had 10 fields in backend table....,but i want only 9 fields to be fetched ,so in xsd is there any specific annotation  to skip particular field...? with out throwing schema errors...

    csteward
    October 18, 2021

    You would simply leave it out of your XSD if you have a DB column you never want to include, or comment it out with <!-- field -->.  It does not hurt to have extra fields in the DB that are not referenced in the XSD.

    Another option is using the selection parameter of a!queryEntity() to limit the fields returned.