Module Values_0.MongoDBTargetSource

Specifies an Amazon DocumentDB or MongoDB data store to crawl.

Sourcetype nonrec t = {
  1. connectionName : ConnectionName.t option;
    (*

    The name of the connection to use to connect to the Amazon DocumentDB or MongoDB target.

    *)
  2. path : Path.t option;
    (*

    The path of the Amazon DocumentDB or MongoDB target (database/collection).

    *)
  3. scanAll : NullableBoolean.t option;
    (*

    Indicates whether to scan all the records, or to sample rows from the table. Scanning all the records can take a long time when the table is not a high throughput table. A value of true means to scan all records, while a value of false means to sample the records. If no value is specified, the value defaults to true.

    *)
}
Sourceval make : ?connectionName:??? -> ?path:??? -> ?scanAll:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of NullableBoolean.t | `String of ConnectionName.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t