Stores a string in the local database.
Note this function is deprecated and will be removed in the future.
String
- Database name.String
- Key name.String
- String to store.params: [
"testDB",
"myKey",
"myString"
]
Boolean
- returns true
if the value was stored, otherwise false
.
// Request
curl -X POST --data '{"jsonrpc":"2.0","method":"db_putString","params":["testDB","myKey","myString"],"id":73}'
// Result
{
"id":1,
"jsonrpc":"2.0",
"result": true
}