Preparing Cursor API for localDB