Home
The Toolkit for Online Communities
15900 Community Members, 0 members online, 2382 visitors today
Log In Register

SQL - XQL

OpenACS Home : xowiki : SQL - XQL
Search · Index
Previous Month May 2013
Sun Mon Tue Wed Thu Fri Sat
28 29 30 1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 (1) 24 25
26 27 28 29 30 31 1

Popular tags

ad_form , ADP , ajax , aolserver , asynchronous , bgdelivery , bugtracker , COMET , cvs , debian , emacs , FreeBSD , includelets , install , installation , installers , javascript , libthread , linux , monitoring , nginx , oracle , osx , patches , performance , postgres , pound , redhat , selenium , ssl

1 registered user in community xowiki
in last 30 minutes

Contributors

OpenACS.org

SQL - XQL

OpenACS stores all it's SQL code in .xql files. At least this is the convention. Though this adds an extra burden to the development, please adhere to this standard to make it easy to support OpenACS on multiple databases.

A small reminder, all changes on an .xql file need to be followed by a reload of this file to become effective

Excemption to the rule of "No SQL code in .tcl" is when you build up your SQL query dynamically, so whenever you only have a partial SQL query, using this in tcl is fine if it is following SQL 99 standard. Usually you will find this in listbuilder, where you add the "where_clause".

 

Creation of tables in postgres