SP.ViewCreationInformation.query property (sp.js)
Gets or sets a value that specifies the query for the new list view.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
var value = SP.ViewCreationInformation.get_query ()
var value = SP.ViewCreationInformation.set_query ()
Return value
Type: String
Remarks
It must be null.