mirror of
https://github.com/xbgmsharp/postgsail.git
synced 2025-09-17 11:17:46 +00:00
Add unit tests mocha and sql
This commit is contained in:
64
tests/sql/telegram.sql.output
Normal file
64
tests/sql/telegram.sql.output
Normal file
@@ -0,0 +1,64 @@
|
||||
current_database
|
||||
------------------
|
||||
signalk
|
||||
(1 row)
|
||||
|
||||
You are now connected to database "signalk" as user "username".
|
||||
Expanded display is on.
|
||||
SET
|
||||
-[ RECORD 1 ]--------------+--
|
||||
telegram_session_exists_fn | f
|
||||
|
||||
-[ RECORD 1 ]--------------+--
|
||||
telegram_session_exists_fn | f
|
||||
|
||||
-[ RECORD 1 ]--------------+--
|
||||
telegram_session_exists_fn | f
|
||||
|
||||
SET
|
||||
-[ RECORD 1 ]----+--
|
||||
telegram_session | f
|
||||
|
||||
-[ RECORD 1 ]----+--
|
||||
telegram_session | f
|
||||
|
||||
-[ RECORD 1 ]----+--
|
||||
telegram_session | t
|
||||
|
||||
SET
|
||||
SET
|
||||
-[ RECORD 1 ]
|
||||
vessel_id | t
|
||||
|
||||
SET
|
||||
-[ RECORD 1 ]+------
|
||||
name | kapla
|
||||
mmsi |
|
||||
created_at | t
|
||||
last_contact | t
|
||||
|
||||
-[ RECORD 1 ]------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
name | kapla
|
||||
geojson | {"type": "Feature", "geometry": {"type": "Point", "coordinates": [23.365766667, 59.86]}, "properties": {"name": "kapla", "latitude": 59.86, "longitude": 23.365766666666666}}
|
||||
watertemperature |
|
||||
insidetemperature |
|
||||
outsidetemperature |
|
||||
|
||||
SET
|
||||
-[ RECORD 1 ]
|
||||
vessel_id | t
|
||||
|
||||
SET
|
||||
-[ RECORD 1 ]+----------
|
||||
name | aava
|
||||
mmsi | 787654321
|
||||
created_at | t
|
||||
last_contact | t
|
||||
|
||||
-[ RECORD 1 ]------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
name | aava
|
||||
geojson | {"type": "Feature", "geometry": {"type": "Point", "coordinates": [2.2934791, 41.465333283]}, "properties": {"name": "aava", "latitude": 41.46533328333334, "longitude": 2.2934791}}
|
||||
watertemperature | 280.25
|
||||
insidetemperature |
|
||||
outsidetemperature |
|
||||
|
Reference in New Issue
Block a user