ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ilDatabasePostgresTestMockData Class Reference

Class ilDatabaseCommonTestMockData. More...

+ Inheritance diagram for ilDatabasePostgresTestMockData:
+ Collaboration diagram for ilDatabasePostgresTestMockData:

Public Member Functions

 getNow ()
 
 getInsertQuery ($table_name)
 
- Public Member Functions inherited from ilDatabaseCommonTestMockData
 getNow ()
 
 getLike ()
 
 getLocate ()
 
 getConcat ($allow_null=true)
 
 getDBFields ()
 
 getInputArray ($update_mob_id=false, $blob_null=true, $with_clob=true)
 
 getInputArrayForTransaction ()
 
 getInsertQuery ($table_name)
 
 getTableCreateSQL ($tablename, $engine)
 
 getTableCreateSQLAfterRename ($tablename, $engine, $supports_fulltext)
 
 getTableCreateSQLAfterAlter ($tablename, $engine, $supports_fulltext)
 

Detailed Description

Member Function Documentation

◆ getInsertQuery()

ilDatabasePostgresTestMockData::getInsertQuery (   $table_name)
Parameters
$table_name
Returns
string

Definition at line 25 of file class.ilDatabasePostgresTestMockData.php.

26  {
27  return "INSERT INTO " . $table_name . "
28  (id,is_online,is_default,latitude,longitude,elevation,address,init_mob_id,comment_mob_id,container_id)
29  VALUES
30  (58,1,0,47.05983,7.624028,2.56,'Farbweg 9, 3400 Burgdorf',78,69,456);";
31  }

◆ getNow()

ilDatabasePostgresTestMockData::getNow ( )
Returns
string

Definition at line 15 of file class.ilDatabasePostgresTestMockData.php.

16  {
17  return "now()";
18  }

The documentation for this class was generated from the following file: