|Data provider||Read||Finbourne||Provided with LUSID|
The Drive.File provider enables you to write a Luminesce query that searches for a particular file or files stored in Drive.
Note: The LUSID user running the query must have sufficient access control permissions to both use the provider and enumerate target files and folders in Drive. This should automatically be the case if you are the domain owner.
The query returns a table of data if matching files are found, which you can use in preparation for extracting data from those files.
See also: Drive.Excel, Drive.Csv, Drive.Sqlite, Drive.SaveAs
Drive.File has parameters that enable you to filter or refine a query.
To list available parameters, their data types, default values, and an explanation for each, run the following query using a suitable tool:
By default, Drive.File returns a table of data populated with particular fields (columns). You can return just a subset of these fields if you wish.
To list fields available to return, their data types, whether fields are considered 'main', and an explanation for each, run the following query using a suitable tool:
Note: Fields marked 'main' are returned by queries that start select ^ from Drive.File...
Note: For more examples, try the Luminesce Github repo.