We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 987891f commit 03d1220Copy full SHA for 03d1220
templates/dart/guides/search/saveRecentlyPublishedBooks.mustache
@@ -0,0 +1,13 @@
1
+{{> snippets/import}}
2
+
3
+void searchRecentlyPublishedBooks() async {
4
+ {{> snippets/init}}
5
6
+ var dateTimestamp = DateTime.now().millisecondsSinceEpoch;
7
+ var searchParams = SearchParamsObject(
8
+ query: "<YOUR_SEARCH_QUERY>",
9
+ filters: "date_timestamp > $dateTimestamp"
10
+ );
11
12
+ await {{#dynamicSnippet}}searchWithSearchParams{{/dynamicSnippet}};
13
+}
0 commit comments