Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    API-enhancement-suggestion: serverDS.OperationBinding.doesNotOutput

    Hi Isomorphic,

    is it possible for you to add an OperationBinding attribute named "doesNotOutput", that does exact the opposite of "outputs" (http://www.smartclient.com/smartgwte...g.html#outputs).

    "outputs" is "empty_set UNION "outputs"-list"
    "doesNotOutput" would be "all_fields MINUS "doesNotOutput"-list".

    Use-case is that you might have fields that you don't need often, so instead of listing nearly all fields positive on most fetch-bindings, you list only a few fields negative.

    Best regards,
    Blama

    #2
    Hi Isomorphic (and everyone else finding this thread),

    I just saw the following javadocs:
    DataSourceField#customSQL, OperationBinding#customFields and OperationBinding#excludeCriteriaFields.

    I think with DataSourceField#customSQL I could do what I'm looking for. If not, it would be great if you implemented my suggestion, which is essentially a "excludeSelectFields", based on excludeCriteriaFields.

    Best regards,
    Blama

    Comment

    Working...
    X