Attach filesAttach ScreenshotVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0.M5
    • None
    • Core Library
    • None

    Description

                 
              // Single column
              long totalCount = ObjectSelect.query(Artist.class)
                                  .column(Artist.ARTIST_COUNT)
                                  .selectOne(context);
                                  
              // Several columns
              List<Object[]> result = ObjectSelect.query(Artist.class)
                                          .columns(artistCount, minSalary, namePart)
                                          .select(context);
              for(Object[] r : result) {
                  long count = (long)r[0];
                  int min = (int)r[1];
                  String namePart = (String)r[2];
              }
      

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            ntimofeev Nikita Timofeev
            ntimofeev Nikita Timofeev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment