dbSetRouteAuthor
dbSetRouteAuthor(d_routeId t_authorType[t_subAuthorType] ) => t / nil
Description
Sets the author and, optionally, the sub-author type for the specified route.
Arguments
|
Sub-author type to be set for the route. |
Value Returned
|
Specified author type and sub-author type, are set for the given route. |
|
Examples
rt1 = dbCreateRoute(MainCV mainNet t "normal")
=> db:0x1f7b9c1a
dbSetRouteAuthor(rt1 "Auto")
=> t
dbGetRouteAuthor(rt1)
=> "Auto"
rt1 = dbCreateRoute(MainCV mainNet t "normal")
Set author type to Manual and sub-author type to None.
dbSetRouteAuthor(rt1 "Manual" "None")
=> t
Related Topics
Return to top