mirror of
https://gitlab.silvrtree.co.uk/martind2000/mdot_server.git
synced 2025-01-30 05:40:15 +00:00
18 lines
442 B
MySQL
18 lines
442 B
MySQL
|
|
||
|
CREATE OR REPLACE FUNCTION public.insert_track(
|
||
|
_locationid integer,
|
||
|
_logged timestamp with time zone,
|
||
|
_count smallint,
|
||
|
_total integer)
|
||
|
RETURNS void AS
|
||
|
$BODY$
|
||
|
|
||
|
BEGIN
|
||
|
INSERT into track(locationid, logged, count, total) Values( _locationid, _logged, _count, _total);
|
||
|
END;
|
||
|
$BODY$
|
||
|
LANGUAGE plpgsql VOLATILE
|
||
|
COST 100;
|
||
|
ALTER FUNCTION public.insert_track(integer, timestamp with time zone, smallint, integer)
|
||
|
OWNER TO postgres;
|