Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DetectHotspot ¶
func DetectHotspot()
DetectHotspot adds hotspot detected suggestion in schema conversion process for database.
func PrimaryKey ¶
func PrimaryKey(w http.ResponseWriter, r *http.Request)
primaryKey updates Primary keys in Spanner Table.
func RemoveInterleave ¶
func RemoveInterleave(conv *internal.Conv, spannertable ddl.CreateTable)
Types ¶
type Column ¶
type Column struct { ColumnId string `json:"ColumnId"` Desc bool `json:"Desc"` Order int `json:"Order"` }
Column represents SpannerTables Column.
type PrimaryKeyRequest ¶
PrimaryKeyRequest represents Primary keys API Payload.
type PrimaryKeyResponse ¶
type PrimaryKeyResponse struct { TableId string `json:"TableId"` Columns []Column `json:"Columns"` Synth bool `json:"Synth"` }
PrimaryKeyResponse represents Primary keys API response. Synth is true is for table Primary Key Id is not present and it is generated.
Click to show internal directories.
Click to hide internal directories.