v5:userguide:mysql_tutorial
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
v5:userguide:mysql_tutorial [2016/02/18 23:06] – escape -> to avoid entities conversion + formatting dregad | v5:userguide:mysql_tutorial [2016/02/27 18:44] – [Select Limit and Top Support] mnewnham | ||
---|---|---|---|
Line 176: | Line 176: | ||
When you move to another database, your insert might no longer work. | When you move to another database, your insert might no longer work. | ||
- | The first problem is that each database has a different default date format. MySQL expects YYYY-MM-DD format, while other databases have different defaults. ADOdb has a function called [[v5: | + | The first problem is that each database has a different default date format. MySQL expects YYYY-MM-DD format, while other databases have different defaults. ADOdb has a function called [[v5: |
- | The next problem is that the // | + | The next problem is that the // |
So how do we use the functions? Like this: | So how do we use the functions? Like this: | ||
Line 191: | Line 191: | ||
</ | </ | ||
- | ADOdb also supports [[v5: | + | ADOdb also supports |
- | ===== MetaTypes | + | ==== MetaTypes ==== |
You can find out more information about each of the fields (I use the words fields and columns interchangeably) you are selecting by calling the recordset method '' | You can find out more information about each of the fields (I use the words fields and columns interchangeably) you are selecting by calling the recordset method '' | ||
Line 203: | Line 203: | ||
</ | </ | ||
- | Then '' | + | Then '' |
One problem with handling different databases is that each database often calls the same type by a different name. For example a timestamp type is called // | One problem with handling different databases is that each database often calls the same type by a different name. For example a timestamp type is called // | ||
Line 226: | Line 226: | ||
</ | </ | ||
- | ===== Select Limit and Top Support | + | ==== Select Limit and Top Support ==== |
- | ADOdb has a function called [[v5: | + | ADOdb has a function called |
- | ===== Caching Support | + | ==== Caching Support ==== |
ADOdb allows you to cache recordsets in your file system, and only requery the database server after a certain timeout period with | ADOdb allows you to cache recordsets in your file system, and only requery the database server after a certain timeout period with | ||
Line 237: | Line 237: | ||
* '' | * '' | ||
- | ===== Session Handler Support | + | ==== Session Handler Support ==== |
ADOdb also supports session handlers. You can store your session variables in a database for true scalability using ADOdb. For further information, | ADOdb also supports session handlers. You can store your session variables in a database for true scalability using ADOdb. For further information, |
v5/userguide/mysql_tutorial.txt · Last modified: 2018/06/27 16:09 by dregad