Documentation
¶
Index ¶
- Constants
- type Model
- func (m Model) GetEditedQuery() db.Query
- func (m Model) GetSelectedTableName() string
- func (m Model) Init() tea.Cmd
- func (m Model) SetStatusMessage(msg string) Model
- func (m Model) SetTablesList(onSelect func(string) tea.Cmd) Model
- func (m Model) ShouldRerunQuery() bool
- func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd)
- func (m Model) View() string
Constants ¶
View Source
const ( CursorAtUpdateValue cursorPositionHint = iota // Inside the value in UPDATE SET col = 'value' CursorAtWhereClause // Inside the value in WHERE col = 'value' CursorAtEndOfFile // At the end of the file )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
func RenderTablesList ¶
func (Model) GetEditedQuery ¶
func (Model) GetSelectedTableName ¶
func (Model) SetStatusMessage ¶
func (Model) ShouldRerunQuery ¶
Click to show internal directories.
Click to hide internal directories.