klyn.databases.sql.Connection.prepared
method

    public prepared(sql as String,
    resultSetType as ResultSetType = ResultSetType.FORWARD_ONLY,
    concurrency as ResultSetConcurrency = ResultSetConcurrency.READ_ONLY,
    holdability as ResultSetHoldability = ResultSetHoldability.CLOSE_CURSORS_AT_COMMIT) as PreparedStatement throws SQLException

Description

Prepares one SQL statement.

    import klyn.databases.sql

    prepared = connection.prepared("select * from users where id = ?")