Create an index on the name
field
Prerequisites:
Complete the tutorial setup.
Paste this code in the API API Request editor.
{ "api": "db", "action": "createIndex", "params": { "databaseName": "ctreeSQL", "ownerName": "admin", "tableName": "athlete", "indexName": "name", "fields": [ { "name": "name" } ], "unique": false, "waitToBeLoaded": true }, "authToken": "clickApplyDefaultsToReplaceThisWithValidAuthToken" }
Click Apply defaults to JSON request () to set the
"authToken"
to a valid value.Click Send request ().
Verify the action completed successfully.
Note
"errorCode"
with a value of0
indicates success."errorCode"
with a non-zero value indicates a failure. See Errors and contact FairCom for more information about an error.