blob: 5fd01bf0f4332f19a97231055eef04fee202799a [file] [log] [blame]
MG Mud User88f12472016-06-24 23:31:02 +02001OPTIONAL
2SYNOPSIS
3 int sl_open(string filename)
4
Zesstra715ec202025-07-09 22:18:31 +02005DESCRIPTION
6 Opens the file <filename> for use as a SQLite database.
7 If the file doesn't exists it will be created.
8 Only one open file per object is allowed. On success this
9 function returns 1, otherwise usually an error is thrown.
MG Mud User88f12472016-06-24 23:31:02 +020010
Zesstra715ec202025-07-09 22:18:31 +020011 The function is available only if the driver is compiled with
12 SQLite support. In that case, __SQLITE__ is defined.
MG Mud User88f12472016-06-24 23:31:02 +020013
Zesstra715ec202025-07-09 22:18:31 +020014HISTORY
15 Added in LDMud 3.3.713.
MG Mud User88f12472016-06-24 23:31:02 +020016
Zesstra715ec202025-07-09 22:18:31 +020017SEE ALSO
MG Mud User88f12472016-06-24 23:31:02 +020018 sl_exec(E), sl_insert_id(E), sl_close(E)