Sitemap Sitemap  |  Contact Us Contact Us  |  Clients Clients
   Accessing the WebHare database
  Home |  WebHare Lite |  Downloads |  HareScript |  Websites/CMS |  Applications
Search for:  in: 
HareScript
Databases
Database libraries
 
Accessing a LDAP server as a database
Accessing a local database
Accessing an Oracle database
Accessing ODBC data sources
Accessing the WebHare database
Accessing the WebHare database

This library is provides access to data stored inside a WebHare database.
This library is only available for WebHare AP, and cannot be used by WebHare Lite
to access a WebHare AP database.

Use the following code in your script to load the library:

  LOADLIB "wh::dbase/whdb.whlib";

Public Functions and Macros

BeginWHDBWork Begin work (physical writable transaction) in an auto transaction
BindWHDBMetaTables Bind the WebHare database metadata tables
CloseWHDBAutoTransaction Close an auto transaction
CommitWHDBTransaction Commit a WebHare database transaction
CommitWHDBWork Commit changes made inside a work block after BeginWHDBWork
CreatePasswordHash Hash a password
GetWHDBBlobInternalId Get the internal blob id from the database
GetWHDBRoleId Returns the ID of a role
GetWHDBTableId Retrieve the table id for a bound table
GetWHDBTransactionErrors Get any errors so far
IsWHDBRoleEnabled Check whether a role is enabled for a transaction
IsWHDBWorkOpen Test whether work is currently open on an auto transaction
MakeWHDBAutoNumber Get the next autonumber ID for a table
OpenWHDBAutoTransaction Open a WebHare auto-transaction
OpenWHDBTransaction Open an explicit WebHare transaction
RollbackWHDBTransaction Rollback a WebHare database transaction
RollbackWHDBWork Rollback changes made inside a work block after BeginWHDBWork
SendWHDBCommand Send raw SQL commands to the WHDB
SetWHDBRoles Set the roles on a WHDB transaction
VerifyPasswordHash Verify a password against a stored hash
WHDBColumnExists Check if a column exists
WHDBIndexExists Check if an index exists
WHDBSchemaExists Check if a schema exists
 
Top To top of page