nanos world API Reference Unofficial documentation
Constructor Shared

Database.Default Constructor

Syntax

Lua
Database(database_engine, connection_string, pool_size = 10)

Parameters

Name Type Default Description
database_engine DatabaseEngine Database Engine
connection_string string <a href='#connection-string'>Connection String</a> used to create and connect to the database
pool_size optional integer 10 Size of the connection pool when calling several queries simultaneously