klyn.databases.sql.Driver.supports
method

    public supports(url as String) as Boolean

Description

Returns true when this driver can open the given URL.

    import klyn.databases.sql

    driver = DriverManager.driverFor("mariadb://localhost/app")
    if driver.supports("mariadb://localhost/app"):
    print("supported")

Parameters

- url Database connection URL.

Returns

True if this driver handles the URL.