class

AzuCLI::Commands::Database

Inherits AzuCLI::Commands::Base < Reference < Object

Base class for database commands

Constructors

new(name : String = "", description : String = "")
Source

Instance methods

adapter
Source
adapter=(adapter : String)
Source
checkout_timeout
Source
checkout_timeout=(checkout_timeout : Int32)
Source
connection_healthy
Source
connection_healthy=(connection_healthy : Bool)
Source
database_name
Source
database_name=(database_name : String | Nil)
Source
database_url
Source
database_url=(database_url : String | Nil)
Source
dump_schema

Dump current database schema to file

Source
environment
Source
environment=(environment : String)
Source
host
Source
host=(host : String)
Source
last_connection_check

Connection health tracking

Source
last_connection_check=(last_connection_check : Time | Nil)

Connection health tracking

Source
map_adapter_to_cql

Map adapter string to CQL::Adapter enum

Source
password
Source
password=(password : String)
Source
pool_size

Connection pool configuration

Source
pool_size=(pool_size : Int32)

Connection pool configuration

Source
pool_timeout
Source
pool_timeout=(pool_timeout : Int32)
Source
port
Source
port=(port : Int32)
Source
schema_file_path

Get schema file path

Source
test_detect_schema_info

Public test helper to access protected method for testing

Source
username
Source
username=(username : String)
Source