Importing and Exporting Records

Importing, exporting, and converting data has always been a necessary function of client applications. Standard moves this to the backend as it has direct access to the data.

In other words, these same simple queries can run as the API for your app or Standard code by returning results as JSON, XML, and CSV.

Importing from Disk

The import query can import records to a Standard provided the file location. This query can auto-upload JSON, XML, and CSV.

    
    [std_name or STD_REF] << "[PATH_TO_DIR]"
    

Exporting to Disk

    
    [std_name or STD_REF] >> "[PATH_TO_DIR]"
    

Export all vehicles like so :)

    
    [vehicle] >> "/home/JohnDoe/Downloads/vehicles.csv"