azure-sdk-for-js: Looking for example and more information on BlobServiceClient.findBlobsByTags() and BlockBlobClient.query() APIs
Query/Question How can we help?
Environment:
- Name and version of the Library package used: [e.g. Azure.Storage.Blobs 12.2.0]
@azure/storage-blob@12.4.0 - Hosting platform or OS and .NET runtime version (
dotnet --infooutput for .NET Core projects): [e.g. Azure AppService or Windows 10 .NET Framework 4.8] - IDE and version : [e.g. Visual Studio 16.3]
-
We are looking for complete example for
BlobServiceClient.findBlobsByTags()usage in the implementation. We have tried searching but could not find any example format for thetagFilterSqlExpressionparameter. Also, looking for exact use case reference for using thetagsfor the blobs. -
We are looking for complete example for
BlockBlobClient.query()usage in the implementation. We have tried searching but could not find any example for searching theblob contentdata. Also, looking for exact use case reference for using thequeryforsearchingthe blob content.
- Also, please share the reference for the
querylanguage used. - For Example:
- Blob Name: Expenses_Month _Wise_Year_2020.csv - this file contains all the expenses occurred in every month where
Monthis column. -
- Blob Name: Income_Month _Wise_Year_2020.csv - this file contains all the incomes from every month where
Monthis column.
- Blob Name: Income_Month _Wise_Year_2020.csv - this file contains all the incomes from every month where
- Use Case 1: Retrieve the blobs which has the value as
Januarywhere the column name isMonthusing query. (retrieving the blobs from theContainerbased on blobs data) - Use Case 2: Retrieve the blob data which has the value as
Januarywhere the column name isMonth.(retrieving data from singleblob)
- Blob Name: Expenses_Month _Wise_Year_2020.csv - this file contains all the expenses occurred in every month where
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 20 (11 by maintainers)
Commits related to this issue
- CodeGen from PR 13344 in Azure/azure-rest-api-specs change boolean to enum (#13344) Co-authored-by: Gal Moshe <gamoshe@microsoft.com> — committed to AzureSDKAutomation/azure-sdk-for-js by deleted user 3 years ago
Thank you @ljian3377, The example for
BlobServiceClient.findBlobsByTags()working as expected.Now only we only need steps for
Enable query accelerationfrom UI. If you could provide some inputs that will help us.