Meta

Meta

Songo实例的内部对象,一般情况下,不要使用

Constructor

new Meta() → {Query}

Source:
Properties:
Name Type Description
string string 将meta转后成url后的字符串
_limit number
_page number
_skip number
Returns:
Type
Query

Methods

toJson(replaceropt, spaceopt) → {string}

把一唯对象转换成json.

Source:
把一唯对象转换成json
Parameters:
Name Type Attributes Description
replacer replacer <optional>
跟JSON.stringify(value,replacer,space)中的replacer一样
space number | null <optional>
跟JSON.stringify(value,replacer,space)中的space一样
Returns:
Type
string

toString() → {string}

覆盖原生方法.

Source:
覆盖原生方法
Returns:
Type
string