Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
loudspeaker
main
Top Level Namespace
CreateUsers
Loudspeaker
CLI
Command_Main_of_clim_library
Arguments_Main_of_clim_library
ArgumentsForEachCommand
Options_Main_of_clim_library
Option_bash_completion
Option_config
Option_help
Option_version
Options_Main_of_clim_library
Option_bash_completion
Option_config
Option_help
Option_version
RunProc
Config
ConfigInfo
ConfigInfoDatabase
ConfigInfoLogger
ConfigInfoRedis
ConfigInfoWeb
Database
LibAV
AVCodec
Bindings
Web
FS
LogHandler
Routes
Main
Server
Session
RedisEngine
StorageInstance
StaticHandler
Generated using Crystal 1.10.1
2024-01-09 19:40:09 UTC
class
Loudspeaker::
Database
Loudspeaker::Database
Reference
Object
Defined in:
loudspeaker/database.cr
Constant Summary
Log
=
::
Log
.
for
(
self
)
Constructors
.new
(db_path : String)
Instance Method Summary
#close
#db
: DB::Database
#db_path
: String
#open
#reconnect
Constructor Detail
def self.
new
(db_path : String)
#
[
View source
]
Instance Method Detail
def
close
#
[
View source
]
def
db
: DB::Database
#
[
View source
]
def
db_path
: String
#
[
View source
]
def
open
#
[
View source
]
def
reconnect
#
[
View source
]