00:00
00:00
Newgrounds Background Image Theme

mike181 just joined the crew!

We need you on the team, too.

Support Newgrounds and get tons of perks for just $2.99!

Create a Free Account and then..

Become a Supporter!

Newgrounds Wiki: SaveQuery

  • Package: com.newgrounds
  • Class: SaveQuery
...

Methods

These are the methods of SaveQuery.

addCondition

public function addCondition(field:String, operator:String, value:any):void
  • Returns
    • SaveQuery

      execute

      public function execute():void

      nextPage

      public function nextPage():void

      prevPage

      public function prevPage():void

      reset

      public function reset():void

      sortOn

      public function sortOn(field:String, sortDescending:Boolean):void
  • Parameters
    • field:String

    • sortDescending:Boolean

      Properties

      These are the properties of SaveQuery.

      files

      public var files:Array;

      group

      public var group:SaveGroup;

      isRandomized

      public var isRandomized:Boolean;

      page

      public var page:uint;

      resultsPerPage

      public var resultsPerPage:uint;

      Constants

      These are the constants of SaveQuery.

      AUTHOR_ID

      public static const AUTHOR_ID:String = "authorId";

      AUTHOR_NAME

      public static const AUTHOR_NAME:String = "authorName";

      CREATED_ON

      public static const CREATED_ON:String = "createdOn";

      FILE_ID

      public static const FILE_ID:String = "fileId";

      FILE_NAME

      public static const FILE_NAME:String = "fileName";

      FILE_STATUS

      public static const FILE_STATUS:String = "fileStatus";

      FILE_VIEWS

      public static const FILE_VIEWS:String = "fileViews";

      OPERATOR_BEGINS_WITH

      public static const OPERATOR_BEGINS_WITH:String = "*=";

      OPERATOR_CONTAINS

      public static const OPERATOR_CONTAINS:String = "*";

      OPERATOR_ENDS_WITH

      public static const OPERATOR_ENDS_WITH:String = "=*";

      OPERATOR_EQUAL

      public static const OPERATOR_EQUAL:String = "=";

      OPERATOR_GREATER_OR_EQUAL

      public static const OPERATOR_GREATER_OR_EQUAL:String = ">=";

      OPERATOR_GREATER_THAN

      public static const OPERATOR_GREATER_THAN:String = ">";

      OPERATOR_LESS_OR_EQUAL

      public static const OPERATOR_LESS_OR_EQUAL:String = "<=";

      OPERATOR_LESS_THAN

      public static const OPERATOR_LESS_THAN:String = "<";

      OPERATOR_NOT_BEGINS_WITH

      public static const OPERATOR_NOT_BEGINS_WITH:String = "!*=";

      OPERATOR_NOT_CONTAINS

      public static const OPERATOR_NOT_CONTAINS:String = "!*";

      OPERATOR_NOT_ENDS_WITH

      public static const OPERATOR_NOT_ENDS_WITH:String = "!=*";

      OPERATOR_NOT_EQUAL

      public static const OPERATOR_NOT_EQUAL:String = "!=";

      UPDATED_ON

      public static const UPDATED_ON:String = "updatedOn";