示例#1
0
 public static extern void update_many(MongoCollectionHandle handle,
                                       [MarshalAs(UnmanagedType.LPWStr)] string filter, IntPtr filter_len,
                                       [MarshalAs(UnmanagedType.LPWStr)] string update, IntPtr update_len,
                                       [MarshalAs(UnmanagedType.U1)] bool upsert,
                                       IntPtr tcs_ptr, out NativeException ex);
示例#2
0
 public static extern void delete_many(MongoCollectionHandle handle,
                                       [MarshalAs(UnmanagedType.LPWStr)] string filter, IntPtr filter_len,
                                       IntPtr tcs_ptr, out NativeException ex);
示例#3
0
 public static extern void aggregate(MongoCollectionHandle handle,
                                     [MarshalAs(UnmanagedType.LPWStr)] string pipeline, IntPtr pipeline_len,
                                     IntPtr tcs_ptr, out NativeException ex);
示例#4
0
 public static extern void insert_many(MongoCollectionHandle handle,
                                       [MarshalAs(UnmanagedType.LPWStr)] string docs, IntPtr docs_len,
                                       IntPtr tcs_ptr, out NativeException ex);
示例#5
0
 public static extern void find(MongoCollectionHandle handle,
                                [MarshalAs(UnmanagedType.LPWStr)] string filter, IntPtr filter_len,
                                FindAndModifyOptions options,
                                IntPtr tcs_ptr, out NativeException ex);