Author(s): D. Cabeza, M. Carro, I. Caballero, and M. Hermenegildo..
Version: 1.10#7 (2006/4/26, 19:22:13 CEST)
Version of last change: 1.9#233 (2003/12/22, 18:8:26 CET)
This module implement the types for the low level interface to SQL databases
db_client_types
)db_client_types
)socketname(IPAddress:PortNumber) :- atm(IPAddress), int(PortNumber).
Usage: socketname(IPP)
IPP
is a structure describing a complete TCP/IP port address.
dbname(DBId) :- atm(DBId).
Usage: dbname(DBId)
DBId
is the identifier of an database.
user(User) :- atm(User).
Usage: user(User)
User
is a user name in the database.
passwd(Passwd) :- atm(Passwd).
Usage: passwd(Passwd)
Passwd
is the password for the user name in the database.
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)
AT
is a response from the database interface.
tuple(T) :- list(T,atm).
Usage: tuple(T)
T
is a tuple of values from the database interface.
answertupleterm([]). answertupleterm(tup(T)) :- tuple(T).
Usage: answertupleterm(X)
X
is a predicate containing a tuple.
sqlstring(S) :- string(S).
Usage: sqlstring(S)
S
is a string of SQL code.
Go to the first, previous, next, last section, table of contents.