クエリの追加
await this.query.add(query, maxLvl)
await this.query.add(query, maxLvl)
$tools.query.add と同様に、新しいクエリ (query) を追加します。オプションで最大レベル (maxLvl) を指定することも可能です。
クエリとしてパラメータ付きのハッシュを渡すことができ、クエリコンストラクターと同様に動作します。
例:
this.query.add({
query: "http://site.com",
param1: "..",
...
});
特定のレベルにクエリを追加する例:
this.query.add({
query: "http://site.com",
lvl: 5,
...
});