public bool Open (String path) { var result = true; try { shouldCommit = false; Connection = new SQLiteConnection(path);// (connectionString.ToString ()); Connection.CreateFunction("JSON", 2, new Function(CouchbaseSqliteJsonUnicodeCollationFunction.Compare), true); Connection.CreateFunction("JSON_ASCII", 2, new Function(CouchbaseSqliteJsonAsciiCollationFunction.Compare), true); Connection.CreateFunction("JSON_RAW", 2, new Function(CouchbaseSqliteJsonRawCollationFunction.Compare), true); Connection.CreateFunction("REVID", 2, new Function(CouchbaseSqliteRevIdCollationFunction.Compare), true); } catch (Exception ex) { Log.E(Tag, "Error opening the Sqlite connection using connection String: {0}".Fmt(path), ex); result = false; } return result; }