Commit Graph

20 Commits

Author SHA1 Message Date
Ralf Becker
9d43446af2 fixed 2 join-related bugs 2005-04-22 13:49:36 +00:00
Ralf Becker
5f05d9cae9 search:
- returns reference now
- $order_by param can contain a GROUP BY clause too
- $extra_cols param can contain comma-sep. string now
- fixed reg-expr. to detect column-aliases (was not requiring a space after AS before)
2005-04-20 17:27:48 +00:00
Ralf Becker
658fe2f4c9 allow to pass (already quoted) query-parts as filter 2005-04-19 13:54:55 +00:00
Ralf Becker
7f74e935bb small fix count(*) in get_rows uses no LIMIT 2005-04-14 22:09:40 +00:00
Ralf Becker
f2be05f26f added join parameter to the read too 2005-04-10 21:15:33 +00:00
Ralf Becker
20cacc2f1d 1) fixed not working inserts, if primary key (not auto-increment) where given
2) allow 0 to be written and not treated as null
3) added join feature for search
2005-04-08 18:30:32 +00:00
Ralf Becker
cb820c8ccf only omit filter-column in search, if it's realy set to a value 2005-03-29 17:06:50 +00:00
Ralf Becker
4eb9a76c0b search accepts now a string with column-names for the only_keys parameter, you can use eg. 'DISTINCT mycol' 2005-03-13 23:35:51 +00:00
Ralf Becker
d238e9d9cd added optional parameter to the constructor to pass a db-object, eg. for a connection to a different database/host 2005-03-06 21:39:46 +00:00
Ralf Becker
df847f6d8f returning extra_cols in search 2005-03-05 14:54:14 +00:00
Ralf Becker
450de4d93f reworked so_sql class with new db-methods db::select, db::insert, db::update, db::delete and added get_rows method for the nextmatch widget 2005-02-27 21:31:10 +00:00
Ralf Becker
ac060de053 docu update 2005-02-22 22:11:00 +00:00
Ralf Becker
bc13c208fe fixed inline documentation, works very nice now 2005-02-13 13:03:36 +00:00
reinerj
b01bf986dc change files from phpgw to egw 2004-01-27 16:58:19 +00:00
Ralf Becker
e5f6a0ae08 applied tbsky's so_sql patch:
1. remove a redundant line (var $non_db_cols = array();)
2. make read function process scalar value, as ur comment say.
3. make search function work on "NULL" values
2003-11-03 16:19:48 +00:00
Ralf Becker
28362cbdaa added possibility to use a sql query-string to so_sql::search 2003-04-16 14:32:15 +00:00
Ralf Becker
4bbae0e6f7 change behavior on auto-increment columns, they are not written for new entries
some formatting and droped the aliases
2003-03-27 17:21:58 +00:00
Ralf Becker
569a3672b0 some corrections for the inline-doc-parser 2002-09-02 11:14:30 +00:00
Ralf Becker
b7418f98ba changed last_insert_id() to get_last_insert_id($table,$field) 2002-02-18 13:51:04 +00:00
Ralf Becker
fec8b59825 inital import: generalised so-layer working on the tables_current file 2002-02-18 06:52:33 +00:00