package rdf_mysql

  1. Overview
  2. Docs
Mysql backend for rdf

Install

Dune Dependency

Authors

Maintainers

Sources

ocaml-rdf-1.1.0.tar.bz2
md5=fdca8ab06da34d9d76fe273f654ec6a1
sha512=fff3ad6cb5978e43ac3c509cc25a01d16be6e21b04df607e0595ec0e7226ba7b6e4e2ec86bbeae4aa3d6a181fa399c7c00a4b1c788ddc98486f5c8badf8867f7

doc/rdf_mysql/Rdf_mysql/My/index.html

Module Rdf_mysql.MySource

Mysql storage common parts.

Sourcetype t = {
  1. g_name : Iri.t;
  2. g_table : string;
  3. g_dbd : Mysql.dbd;
  4. mutable g_in_transaction : bool;
  5. g_transactions : bool;
}
Sourcetype error = string
Sourceexception Error of string
Sourceval string_of_error : 'a -> 'a
Sourceval exec_query : Mysql.dbd -> string -> Mysql.result
Sourceval exec_prepared : Mysql.dbd -> string -> string list -> Mysql.result
Sourceval db_of_options : Rdf.Graph.options -> Mysql.db
Sourceval mysql_quote_dbd : Mysql.dbd -> string -> string
Sourceval mysql_quote : t -> string -> string
Sourceval init_db : Mysql.db -> string list -> Mysql.dbd
Sourceval graph_table_of_id : int -> string
Sourceval graph_table_of_graph_name : ?first:bool -> Mysql.dbd -> Iri.t -> string
Sourceval nstable_of_graph_table : string -> string
Sourceval table_exists : Mysql.dbd -> string -> bool
Sourceval create_namespaces_table : Mysql.dbd -> string -> unit
Sourceval prepared_count_triples : string
Sourceval prepared_insert_triple : string
Sourceval prepared_delete_triple : string
Sourceval prepared_subjects_of : string
Sourceval prepared_predicates_of : string
Sourceval prepared_objects_of : string
Sourceval prepared_subject : string
Sourceval prepared_predicate : string
Sourceval prepared_object : string
Sourceval prepared_cardinal : string
Sourceval prepared_namespaces : string
Sourceval prepared_delete_namespace : string
Sourceval prepared_insert_namespace : string
Sourceval make_select_term_list : string -> string -> string -> string
Sourceval prepare_query : Mysql.dbd -> string -> string -> unit
Sourceval prepare_queries : Mysql.dbd -> ?more:(string * string) list -> string -> unit
Sourceval namespaces : t -> (Iri.t * string) list
Sourceval rem_namespace : t -> string -> unit
Sourceval add_namespace : t -> Iri.t -> string -> unit
Sourceval set_namespaces : t -> (Iri.t * string) list -> unit
Sourceval graph_size : t -> int
Sourceval exists : (?sub:'a -> ?pred:'b -> ?obj:'c -> t -> string) -> ?sub:'a -> ?pred:'b -> ?obj:'c -> t -> bool
Sourceval transaction_start : t -> unit
Sourceval transaction_commit : t -> unit
Sourceval transaction_rollback : t -> unit
Sourceval new_blank_id : t -> Rdf.Term.blank_id
OCaml

Innovation. Community. Security.