Skip to content
Weesli edited this page Jul 19, 2025 · 2 revisions

Welcome to the RozsDB-Lite wiki!

Usage

Database.java class

        /*
         *  Starts a database in the specified file.
         *  If the file does not exist, it is created with the database name.
         *  If the file exists, it is opened.
         *  */
        Database database = RozsDBLite.open(“name_of_database”, Path.of(“path/to/database”));

Table.java class

        /*
         * Get a table from the database
         * If the table has not been initialized, it is created
         */
         Table table = database.getTable(“name_of_table”);

Clone this wiki locally