PHP Classes

File: lib/PdoOne.php

Recommend this page to a friend!
  Classes of Jorge Castro   PHP PDO One   lib/PdoOne.php  
File: lib/PdoOne.php
Role: Class source
Content type: text/plain
Description: Class source
Class: PHP PDO One
Access to database with PDO and run common queries
Author: By
Last change: 4.13.2
4.13.1
4.13
4.12.1
4.12
4.10
4.9.2
4.9.1
4.9
4.8
4.7
4.6.2
4.6
4.4
4.3.3 2023-09-05
4.3.2
4.3.1
4.3
4.2
4.1.1
4.1
4.0.1
4.0
3.16
3.15
3.14
3.13
3.13 2023-01-26
* 3.12.2
* 3.12.1
* 3.12
* 3.11.1
* 3.11
* 3.10
* 3.9
* 3.8.1
* 3.8
* 3.7
* 3.6
* 3.6
* 3.5
* 3.3
* 3.2
* 3.1.6
* 3.1.5
* 3.1.4
* 3.1.3
* 3.1.2
* 3.1.1
08/06/2022
* 2.32 2022-03-20
* 2.31 2022-03-04
* 2.30 2022-02-28
* 2.27 2022-02-19
* 2.27 2022-02-19
* 2.26 2022-02-19
2.25.1 2022-02-18
2.25 2022-02-10
2.24.1 2022-02-06
2.24 2022-02-06
2.24 2022-02-06
* 2.23 see README.md for a list of changes
* 2.22.1 see README.md
* 2.20 see README.md
* 2.19 see README.md
* 2.18 see README.md
* 2.17 see README.md
* 2.16 see README.md
* 2.15 see README.md
* 2.14.3 see README.md
* 2.14.2 see README.md
* 2.14.1 see README.md
* 2.14 see README.md
* 2.13.1 see README.md
* 2.13 see README.md
* 2.12 see README.md
* 2.11.1 see README.md
* 2.11 lots of cleanups.
* 2.10.3
* 2.10.2
* 2.10.1
* 2.10
* 2.9.4
* 2.9.3
* 2.9.1 2021-02-16 see README.md
* 2.9 2021-02-16 see README.md
* 2.8 2021-02-13 see README.md
* 2.8 2021-02-13 see README.md
* 2.8 2021-02-13 see README.md
* 2.7 2021-01-10 see README.md
* 2.7 2021-01-10 see README.md
* 2.6.3 2020-10-16 see README.md
* 2.6.3 2020-10-16 see README.md
* 2.6.2 2020-10-09 see README.md
* 2.6.1 2020-09-24 see README.md
* 2.6.1 2020-09-24 see README.md
* 2.6 2020-09-17
* the methods insert(),update(),delete() and insertObject() flushes the cache if it is called with useCache()
, example: $this->usecache('','customers')->insert(); // delete the group cache customers.
2.5 see README.md
2.4.1 see README.md
2.4 see README.md
2.3 see README.md
2.2.6 see README.md
2.2.5 see README.md
2.2.3 see README.md
2.2.2 see README.md
2.2.1 see README.md
2.2 see README.md
2.1 see README.md
2.0.1
2.0
2.0
1.55.1 2020-08-05
1.55 2020-08-05
1.55 2020-08-05
1.54 2020-08-02
* 1.53

PDO::ATTR_EMULATE_PREPARES=false
* 1.52
* 1.51
* 1.50
* 1.49 2020-6-19
* New method generateAllClasses()
* 1.48 2020-6-15
* dateTextNow() now returns a human readable format
* New method dateNow() that returns a date in a normal format.
* BasePdoOne::count() now works with setRecursive()
* 1.47 2020-6-14
* The flow ->where()->update() now works when "where()" uses named arguments.
* Fixed a bug with the next query ->where('a1=:Argument',[])
* Added the method PdoOneEncryption::hash() and added the method PdoOne::hash() to wrap the first method.
* Added the field PdoOneEncryption:$hashType And PdoOne uses as the default hash algorythm.
* The method RunRawQuery() now accept named arguments.
* 1.46 2020-6-13
* _BasePdoOneRepo updated to 4.6
* Now generation of code has a Base class, so it is possible to rename classes independiently of the table.
* 1.45 2020-6-7
* Added method generateCodeClassRepo()
* Modified method generateCodeClass()
* 1.44.2 2020-6-3
* Solved a problem with BasePdoOneRepo
* 1.44.1 2020-6-2
* Solved a small bug on BasePdoOneRepo
* 1.44 2020-5-31
* Updated BasePdoOneRepo to 4.4. Now it catches errors or returns false.
* 1.43 2020-5-31
* Updated BasePdoOneRepo to 4.3. Now it works with conversions. It doesn't convert fields from **where**
but it converts results, insert and update.
* BasePdoOneRepo 4.3 also restricts the columns to insert and update.
* BasePdoOneRepo 4.3 also uses a long definition of columns.
* 1.42 2020-5-29
* Updated BasePdoOneRepo to 4.2. Now it works with cache
* New method buildUniqueID()
* 1.42 2020-5-29
* Updated BasePdoOneRepo to 4.2. Now it works with cache
* New method buildUniqueID()
* 1.42 2020-5-29
* Updated BasePdoOneRepo to 4.2. Now it works with cache
* New method buildUniqueID()
* 1.41.2 2020-5-29
* Updated BasePdoOneRepo to 4.1.1 In the method _first(), if argument is null then it doesn't query the value.
* 1.41.1 2020-5-28
* Added more phpdoc for generateCodeClass()
* 1.41.1 2020-05-28
* 1.41 2020-05-28
* 1.40.1 2020-05-27
* 1.40 2020-05-21
* 1.39 2020-05-12
1.38 2020-05-10 see README.md
* 1.37 2020-05-03
* added method setNoReset()
1.36 2020-05-03

* added method hasRecursive()
* 1.35.1 delete autoload.php
* 1.35 2020-04-28
* _BasePdoOneRepo 2.3 added relation ONETOMANY
* generateCodeClass() supports for _BasePdoOneRepo 2.3
* 1.34.2 2020-04-27
* Updated other components.
* left(), right() and innerjoin() don't replace where() anymore
1.34.1
1.34
1.33
1.32.1
1.32 2020-04-12
1.31.1 see README.md
1.31 2020-04-11

* new method tableSorted()
1.30
1.29
1.28.1
1.28
1.28
Date: 18 days ago
Size: 199,325 bytes

You need to be a registered user and login to get this file.

Login Immediately with your account on: