ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
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 23 of file class.ilDatabasePostgresTestMockData.php.

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

◆ getNow()

ilDatabasePostgresTestMockData::getNow ( )
Returns
string

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

14  {
15  return "now()";
16  }

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