Exemplo n.º 1
0
        public void TestRekey()
        {
            TestCreateRawDoc();

            C4Error error;

            Assert.IsTrue(Native.c4db_rekey(_db, null, &error));

            C4RawDocument *doc = Native.c4raw_get(_db, "test", "key", &error);

            Assert.IsTrue(doc != null);
        }
Exemplo n.º 2
0
 public static extern void c4raw_free(C4RawDocument *rawDoc);
 public void c4raw_free(C4RawDocument *rawDoc) => Native.c4raw_free(rawDoc);
 public static void c4raw_free(C4RawDocument *rawDoc) => Impl.c4raw_free(rawDoc);