stronk7
7b31a94e08
Now fields are able to return their PHP specs.
2006-09-06 19:31:03 +00:00
stronk7
2e2a396ca3
Added to the generators the ability of prevent adding prefix for some tables.
...
(needed by adodb_logsql)
2006-09-05 17:17:49 +00:00
stronk7
623942afff
Allowinng tables to create fields/keys/indexes using the one-pass-setters
2006-09-02 23:52:55 +00:00
stronk7
76fd473623
Added one-pass-setters for fields/keys/indexes.
2006-09-02 23:51:39 +00:00
stronk7
cb62712c6d
Added some used strings
2006-09-02 23:49:02 +00:00
stronk7
4782a1f8bc
Minor modifications to oci8po generator (max 38 for number)
2006-08-31 00:19:57 +00:00
stronk7
393e7cc373
where BIG should be LONG...
2006-08-30 16:14:44 +00:00
stronk7
914597ee9f
...where = should be == ...
2006-08-30 16:06:16 +00:00
stronk7
a0da32e935
Moving getEndedStatements() to the propef function.
2006-08-29 21:57:40 +00:00
stronk7
716332e68b
Added support to SQL generation of statements
2006-08-27 22:31:02 +00:00
stronk7
9dbc13db9a
Concat operator for mysql added
2006-08-27 22:25:41 +00:00
stronk7
b96aaad125
Concat operator for mssql added
2006-08-27 22:24:09 +00:00
stronk7
a75636b7ed
Added support to SQL generation of statements
2006-08-27 22:22:23 +00:00
stronk7
efd1e2032d
Added support to SQL generation of install INSERTs
2006-08-27 21:59:04 +00:00
skodak
9d4cb9e33b
New handwritten XMS schema for install.xml files, generator is fixed to link it too. It is not doing all the checks as XMLDB editor from contrib, but it helps to detect basic problems in general XML editors - such as the one in Eclipse ;-) It can serve also as basic documentation of the install.xml format.
2006-08-27 18:33:37 +00:00
stronk7
b8851b80eb
Cache names for improved speed in long iterations requesting
...
the same name thousands of times.
Prepare Oracle Sequnces for the insert_record function.
2006-08-27 08:52:51 +00:00
stronk7
c8a418b8d6
Max for decimal type in MSSQL is 38 cc.
2006-08-26 00:50:09 +00:00
stronk7
09942a5ec2
PGs doubles are caller DOUBLE PRECISION
2006-08-25 17:11:43 +00:00
stronk7
860b55463f
Normalizing a bit all the float/double generators.
2006-08-22 22:10:09 +00:00
stronk7
2efaf3f8ab
One trick to allow pseudo-null Oracle insertions. Let's see what happen.
2006-08-22 16:39:14 +00:00
stronk7
93d2c55ffc
Standard naming now user FOUR char for tables (to avoid
...
avoid some potential duplicates)
2006-08-22 16:15:44 +00:00
stronk7
88534572c3
Reducing the list of MSSQL reserved words to the efectively
...
reserved words (the previous list included a lot of words
reserved by SQLXX standars but not by MSSQL)
2006-08-21 12:28:46 +00:00
stronk7
c8f85eeeba
Reducing the list of PG reserved words to the efectively
...
reserved words (the previous list included a lot of words
reserved by SQLXX standars but not by PG)
2006-08-21 12:04:48 +00:00
stronk7
0513f3bfa5
$statement_end for Oracle changed to "/" because standard ;
...
causes problems with trigger generation
2006-08-20 21:56:54 +00:00
stronk7
f9543de627
Since PostgreSQL 7.4 the precision given for float columsn is
...
the number of bits to use, and not the number of decimals. So,
based on the number of decimals from the XMLDB schema, we are
going to create REAL (<6 decimals) or DOUBLE PRECISION (>=6) columns.
2006-08-20 18:19:50 +00:00
stronk7
16f07ff2b0
MySQL doesn't like any name on its primary keys (neither "primary")
2006-08-20 18:03:55 +00:00
stronk7
c412278140
Although difficult, now all the key/index/sequence/trigger names
...
are quoted if they are reserved words
2006-08-20 18:01:50 +00:00
stronk7
465a802937
Thought this was commited. Solve one bug in trigger generation
2006-08-19 00:58:30 +00:00
stronk7
1bf63d33c8
Oracle automatically builds UIXs for UKs
2006-08-17 19:40:49 +00:00
stronk7
9dcc6300a7
Now all the XMLDBxxx->geSQL functions return an array of statements to be
...
executed (easily to handle them in the installation/upgrade process
individually. Also, it's possible to specify one statement end.
2006-08-17 19:20:45 +00:00
stronk7
6c11ad54d8
UNIQUE KEY is UNIQUE
2006-08-17 00:31:23 +00:00
stronk7
848caec8c2
Now we are able to generate all the module SQL (any RDBMS) with one
...
simple function call (final inserts are missing yet)
2006-08-17 00:16:34 +00:00
stronk7
f075bac4f7
Bah, Oracle requires the default clause BEFORE the not null clause.
2006-08-16 23:45:18 +00:00
stronk7
6aa7885eb5
Minor adjustments to some comments.
2006-08-16 23:17:28 +00:00
stronk7
ada5648103
Fixing some potential problems with prefixes and object names.
2006-08-16 23:01:46 +00:00
stronk7
d7444bfce3
Initial commit of oci8po generator
2006-08-16 22:58:51 +00:00
stronk7
866c0747e8
Line feed added + small bug
2006-08-16 22:23:39 +00:00
stronk7
d7bf5f9917
Initial version of the mssql generator
2006-08-16 21:46:08 +00:00
stronk7
2ad7da9bec
Initial version of the postgres7 generator
2006-08-16 18:41:47 +00:00
stronk7
0c82f279c6
Added one more configuration parameter to disable inline SQL to be added in enum column lines
2006-08-16 18:37:33 +00:00
stronk7
aacf02c55b
Proper parent init and comment close
2006-08-16 17:53:24 +00:00
stronk7
6caad5177d
Minor change to do proper create table close
2006-08-16 17:51:49 +00:00
stronk7
e54ae5264b
Partial rework of the mysql generator. Working now.
2006-08-16 17:43:55 +00:00
stronk7
1f0872e8ba
Changed one default
2006-08-16 17:34:46 +00:00
stronk7
91496d15bc
Initial commit of the base generator class.
2006-08-16 17:28:41 +00:00
stronk7
edc8779b92
Latest changes, nothing important.
2006-08-15 11:30:32 +00:00
stronk7
82b7ceb568
Just adding support for reserved words....
2006-08-15 10:15:52 +00:00
stronk7
8165877a17
Initial commit on HEAD of all the XMLDB stuff.
2006-08-15 09:14:31 +00:00