Documentation
¶
Index ¶
- Constants
- type Connection
- type Oracle
- func (s *Oracle) Command(command *jdb.Command) (et.Items, error)
- func (s *Oracle) Connect(connection jdb.ConnectParams) (*sql.DB, error)
- func (s *Oracle) Count(ql *jdb.Ql) (int, error)
- func (s *Oracle) CreateDatabase(name string) error
- func (s *Oracle) Disconnect() error
- func (s *Oracle) DropDatabase(name string) error
- func (s *Oracle) DropModel(model *jdb.Model) error
- func (s *Oracle) EmptyModel(model *jdb.Model) error
- func (s *Oracle) ExistDatabase(name string) (bool, error)
- func (s *Oracle) Exists(ql *jdb.Ql) (bool, error)
- func (s *Oracle) LoadModel(model *jdb.Model) error
- func (s *Oracle) MutateModel(model *jdb.Model) error
- func (s *Oracle) Name() string
- func (s *Oracle) Select(ql *jdb.Ql) (et.Items, error)
Constants ¶
View Source
const ( MSG_FUNCION_NOT_FOUND = "Function not found" MSG_COMMAND_NOT_FOUND = "Command not found" MSG_VERSION_NOT_SUPPORTED = "PostgreSQL version:%s json_object is not supported" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connection ¶ added in v0.1.20
type Connection struct {
Database string `json:"database"`
Host string `json:"host"`
Port int `json:"port"`
Username string `json:"username"`
Password string `json:"password"`
App string `json:"app"`
Version int `json:"version"`
}
func (*Connection) Chain ¶ added in v0.1.20
func (s *Connection) Chain() (string, error)
* * Chain * @return string, error *
func (*Connection) ToJson ¶ added in v0.1.20
func (s *Connection) ToJson() et.Json
* * ToJson * @return et.Json *
func (*Connection) Validate ¶ added in v0.1.20
func (s *Connection) Validate() error
* * Validate * @return error *
type Oracle ¶
type Oracle struct {
// contains filtered or unexported fields
}
func (*Oracle) CreateDatabase ¶ added in v0.1.20
* * CreateDatabase * @param name string * @return error *
func (*Oracle) DropDatabase ¶ added in v0.1.20
* * DropDatabase * @param name string * @return error *
func (*Oracle) EmptyModel ¶ added in v0.1.18
* * EmptyModel * @param model *jdb.Model * @return error *
func (*Oracle) ExistDatabase ¶ added in v0.1.20
* * ExistDatabase * @param name string * @return bool, error *
func (*Oracle) MutateModel ¶
* * MutateModel * @param model *jdb.Model * @return error *
Click to show internal directories.
Click to hide internal directories.