Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Magic::Database
Inherits
Reference
<
Object
Constructors
new
(flags :
Flag
|
Int32
=
Flag::None
, database :
String
|
Path
|
Nil
= nil, load :
Bool
= true)
Source
open
(flags :
Flag
|
Int32
=
Flag::None
, database :
String
|
Path
|
Nil
= nil, load :
Bool
= true) : self
Source
Class methods
open
(flags :
Flag
|
Int32
=
Flag::None
, database :
String
|
Path
|
Nil
= nil, load :
Bool
= true, &)
Source
Instance methods
buffer
(bytes :
Bytes
) :
String
Source
buffer
(string :
String
) :
String
Source
check
(database :
String
|
Path
|
Nil
= nil) : self
Source
close
Source
closed?
Source
compile
(database :
String
|
Path
|
Nil
= nil) : self
Source
descriptor
(fd :
Int
) :
String
Source
file
(path :
String
|
Path
) :
String
Source
finalize
Source
flags
Source
flags=
(flags :
Flag
|
Int32
) :
Flag
|
Int32
Source
list
(database :
String
|
Path
|
Nil
= nil) : self
Source
load
(database :
String
|
Path
|
Nil
= nil) : self
Source