Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > by-pkgid > 2fc07611b08d4a735fd34d5eb60d8e16 > files > 2100

ciao-1.10p8-3mdv2010.0.i586.rpm

<HTML>
<HEAD>
<!-- Created by texi2html 1.56k + clip patches and <A href="http://www.clip.dia.fi.upm.es/Software">lpdoc</A> from ciao.texi on 28 January 2007 -->

<LINK rel="stylesheet" href="ciao.css" type="text/css">
<TITLE>The Ciao Prolog System               - Low-level socket interface to SQL/ODBC databases</TITLE>
</HEAD>
<BODY> 
Go to the <A HREF="ciao_1.html">first</A>, <A HREF="ciao_152.html">previous</A>, <A HREF="ciao_154.html">next</A>, <A HREF="ciao_241.html">last</A> section, <A HREF="ciao_toc.html">table of contents</A>.
<P><HR><P>


<H1><A NAME="SEC646" HREF="ciao_toc.html#TOC646">Low-level socket interface to SQL/ODBC databases</A></H1>
<P>
<A NAME="IDX7271"></A>


<P>
<STRONG>Author(s):</STRONG> Jose Morales.


<P>
<STRONG>Version:</STRONG> 1.10#7 (2006/4/26, 19:22:13 CEST)


<P>
<STRONG>Version of last change:</STRONG> 1.11#155 (2004/1/7, 20:9:58 CET)


<P>
This library provides a low-level interface to MySQL using the MySQL C API and the Ciao foreign interface to C.



<UL>
<LI><A HREF="ciao_153.html#SEC647">Usage and interface (mysql_client)</A>
<LI><A HREF="ciao_153.html#SEC648">Documentation on exports (mysql_client)</A>
</UL>



<H2><A NAME="SEC647" HREF="ciao_toc.html#TOC647">Usage and interface (<CODE>mysql_client</CODE>)</A></H2>

<div class="cartouche">

<UL>

<LI><STRONG>Library usage:</STRONG>

<CODE>:- use_module(library(mysql_client)).</CODE>

<LI><STRONG>Exports:</STRONG>


<UL>

<LI><EM>Predicates:</EM>

<A NAME="IDX7272"></A>
<CODE>mysql_connect/5</CODE>, 
<A NAME="IDX7273"></A>
<CODE>mysql_query/3</CODE>, 
<A NAME="IDX7274"></A>
<CODE>mysql_query_one_tuple/3</CODE>, 
<A NAME="IDX7275"></A>
<CODE>mysql_free_query_connection/1</CODE>, 
<A NAME="IDX7276"></A>
<CODE>mysql_fetch/2</CODE>, 
<A NAME="IDX7277"></A>
<CODE>mysql_get_tables/2</CODE>, 
<A NAME="IDX7278"></A>
<CODE>mysql_table_types/3</CODE>, 
<A NAME="IDX7279"></A>
<CODE>mysql_disconnect/1</CODE>.

<LI><EM>Regular Types:</EM>

<A NAME="IDX7280"></A>
<CODE>dbconnection/1</CODE>, 
<A NAME="IDX7281"></A>
<CODE>dbqueryconnection/1</CODE>.

</UL>

<LI><STRONG>Other modules used:</STRONG>


<UL>

<LI><EM>System library modules:</EM>

<A NAME="IDX7282"></A>
<CODE>foreign_interface/foreign_interface_properties</CODE>, 
<A NAME="IDX7283"></A>
<CODE>persdb_mysql/db_client_types</CODE>.

</UL>

</UL>

</div class="cartouche">



<H2><A NAME="SEC648" HREF="ciao_toc.html#TOC648">Documentation on exports (<CODE>mysql_client</CODE>)</A></H2>
<P>
<A NAME="IDX7284"></A>
<A NAME="IDX7285"></A>
<DL>
<DT><span class="define">PREDICATE:</span> <B>mysql_connect/5:</B>
<DD><A NAME="IDX7286"></A>


<P>
No further documentation available for this predicate.


</DL>

<P>
<A NAME="IDX7287"></A>
<A NAME="IDX7288"></A>
<DL>
<DT><span class="define">REGTYPE:</span> <B>dbconnection/1:</B>
<DD><A NAME="IDX7289"></A>



<PRE>
dbconnection(_1) :-
        address(_1).
</PRE>

<P>
<STRONG>Usage:</STRONG> <CODE>dbconnection(H)</CODE>

<UL>
<LI><EM>Description:</EM> <CODE>H</CODE> a unique identifier of a database session connection.

</UL>

</DL>

<P>
<A NAME="IDX7290"></A>
<A NAME="IDX7291"></A>
<DL>
<DT><span class="define">PREDICATE:</span> <B>mysql_query/3:</B>
<DD><A NAME="IDX7292"></A>


<P>
No further documentation available for this predicate.


</DL>

<P>
<A NAME="IDX7293"></A>
<A NAME="IDX7294"></A>
<DL>
<DT><span class="define">PREDICATE:</span> <B>mysql_query_one_tuple/3:</B>
<DD><A NAME="IDX7295"></A>


<P>
No further documentation available for this predicate.


</DL>

<P>
<A NAME="IDX7296"></A>
<A NAME="IDX7297"></A>
<DL>
<DT><span class="define">REGTYPE:</span> <B>dbqueryconnection/1:</B>
<DD><A NAME="IDX7298"></A>



<PRE>
dbqueryconnection(_1) :-
        address(_1).
</PRE>

<P>
<STRONG>Usage:</STRONG> <CODE>dbqueryconnection(H)</CODE>

<UL>
<LI><EM>Description:</EM> <CODE>H</CODE> is a unique identifier of a query answer in a database session connection.

</UL>

</DL>

<P>
<A NAME="IDX7299"></A>
<A NAME="IDX7300"></A>
<DL>
<DT><span class="define">PREDICATE:</span> <B>mysql_free_query_connection/1:</B>
<DD><A NAME="IDX7301"></A>


<P>
No further documentation available for this predicate.


</DL>

<P>
<A NAME="IDX7302"></A>
<A NAME="IDX7303"></A>
<DL>
<DT><span class="define">PREDICATE:</span> <B>mysql_fetch/2:</B>
<DD><A NAME="IDX7304"></A>


<P>
No further documentation available for this predicate.


</DL>

<P>
<A NAME="IDX7305"></A>
<A NAME="IDX7306"></A>
<DL>
<DT><span class="define">PREDICATE:</span> <B>mysql_get_tables/2:</B>
<DD><A NAME="IDX7307"></A>


<P>
No further documentation available for this predicate.


</DL>

<P>
<A NAME="IDX7308"></A>
<A NAME="IDX7309"></A>
<DL>
<DT><span class="define">PREDICATE:</span> <B>mysql_table_types/3:</B>
<DD><A NAME="IDX7310"></A>


<P>
No further documentation available for this predicate.


</DL>

<P>
<A NAME="IDX7311"></A>
<A NAME="IDX7312"></A>
<DL>
<DT><span class="define">PREDICATE:</span> <B>mysql_disconnect/1:</B>
<DD><A NAME="IDX7313"></A>


<P>
No further documentation available for this predicate.


</DL>

<P><HR><P>
Go to the <A HREF="ciao_1.html">first</A>, <A HREF="ciao_152.html">previous</A>, <A HREF="ciao_154.html">next</A>, <A HREF="ciao_241.html">last</A> section, <A HREF="ciao_toc.html">table of contents</A>.
</BODY>
</HTML>