-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: refactor Notion database querying methods
- Add a new method `QueryContainsDatabase` to query the Notion database by property and value - Move the `notionapi.NewClient` initialization to a separate variable `client` - Modify the `QueryContainsDatabase` method to add the `UId` to the filter conditions - Add a new method `QueryDatabaseContainsByName` to query the Notion database by name and UId - Add a new method `QueryDatabaseContainsByEmail` to query the Notion database by email and UId - Add a new method `QueryDatabaseContainsByTitle` to query the Notion database by title and UId - Add a new method `QueryDatabaseContains` to query the Notion database by name, email, and title Signed-off-by: Evan Lin <[email protected]>
- Loading branch information
Showing
2 changed files
with
119 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters