Go to the first, previous, next, last section, table of contents.


Types for the Low-level interface to SQL databases

Author(s): D. Cabeza, M. Carro, I. Caballero, and M. Hermenegildo..

Version: 1.11#222 (2004/5/24, 13:8:7 CEST)

Version of last change: 1.11#109 (2003/12/22, 18:8:9 CET)

This module implement the types for the low level interface to SQL databases

Usage and interface (db_client_types)

Documentation on exports (db_client_types)

REGTYPE: socketname/1:
socketname(IPAddress:PortNumber) :-
        atm(IPAddress),
        int(PortNumber).

Usage: socketname(IPP)

REGTYPE: dbname/1:
dbname(DBId) :-
        atm(DBId).

Usage: dbname(DBId)

REGTYPE: user/1:
user(User) :-
        atm(User).

Usage: user(User)

REGTYPE: passwd/1:
passwd(Passwd) :-
        atm(Passwd).

Usage: passwd(Passwd)

REGTYPE: answertableterm/1:

Represents the types of responses that will be returned from the database interface. These can be a set of answer tuples, or the atom ok in case of a successful addition or deletion.

Usage: answertableterm(AT)

REGTYPE: tuple/1:
tuple(T) :-
        list(T,atm).

Usage: tuple(T)

REGTYPE: answertupleterm/1:
answertupleterm([]).
answertupleterm(tup(T)) :-
        tuple(T).

Usage: answertupleterm(X)

REGTYPE: sqlstring/1:
sqlstring(S) :-
        string(S).

Usage: sqlstring(S)


Go to the first, previous, next, last section, table of contents.