Sha256: b4db2729ec9c9e0ef6e1b789846ca8507dc87f926d264aa7392190faecf6d1b6
Contents?: true
Size: 288 Bytes
Versions: 16
Compression:
Stored size: 288 Bytes
Contents
CREATE OR REPLACE FUNCTION message_store.cardinal_id( stream_name varchar ) RETURNS varchar AS $$ DECLARE _id varchar; BEGIN _id := id(cardinal_id.stream_name); IF _id IS NULL THEN RETURN NULL; END IF; RETURN SPLIT_PART(_id, '+', 1); END; $$ LANGUAGE plpgsql IMMUTABLE;
Version data entries
16 entries across 16 versions & 1 rubygems