mirror of
https://github.com/pikami/cosmium.git
synced 2026-01-31 07:12:59 +00:00
Added get APIs for Stored Procedures, Triggers and User Defined Functions
This commit is contained in:
@@ -45,3 +45,44 @@ type Collection struct {
|
||||
databaseId string
|
||||
}
|
||||
}
|
||||
|
||||
type UserDefinedFunction struct {
|
||||
Body string `json:"body"`
|
||||
ID string `json:"id"`
|
||||
Rid string `json:"_rid"`
|
||||
Ts int `json:"_ts"`
|
||||
Self string `json:"_self"`
|
||||
Etag string `json:"_etag"`
|
||||
internals struct {
|
||||
databaseId string
|
||||
collectionId string
|
||||
}
|
||||
}
|
||||
|
||||
type StoredProcedure struct {
|
||||
Body string `json:"body"`
|
||||
ID string `json:"id"`
|
||||
Rid string `json:"_rid"`
|
||||
Ts int `json:"_ts"`
|
||||
Self string `json:"_self"`
|
||||
Etag string `json:"_etag"`
|
||||
internals struct {
|
||||
databaseId string
|
||||
collectionId string
|
||||
}
|
||||
}
|
||||
|
||||
type Trigger struct {
|
||||
Body string `json:"body"`
|
||||
ID string `json:"id"`
|
||||
TriggerOperation string `json:"triggerOperation"`
|
||||
TriggerType string `json:"triggerType"`
|
||||
Rid string `json:"_rid"`
|
||||
Ts int `json:"_ts"`
|
||||
Self string `json:"_self"`
|
||||
Etag string `json:"_etag"`
|
||||
internals struct {
|
||||
databaseId string
|
||||
collectionId string
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user