OCaml Forge
Patches
Search the entire project
This project's trackers
This project's forums
This project's tasks
This project's releases
This project's documents
This project's news
Project
People
Advanced search
Log In
New Account
Home
My Page
Projects
Code Snippets
Macaque
Summary
Activity
Forums
Tracker
Lists
Tasks
Docs
Surveys
News
SCM
Files
Detail: [#1258] concat function
Patches: Browse
|
Download .csv
|
Monitor
[#1258] concat function
Date:
2013-02-21 02:42
Priority:
3
State:
Open
Submitted by:
Fabian Pijcke (
shepard
)
Assigned to:
Nobody (None)
Resolution:
None
Version:
None
Component:
None
Summary:
concat function
Detailed description
The concat function allows one to concatenate two strings.
I lacked this functionality as the default value for one of my columns was:
'generated_' || currval('some_sequence')
where || is the concatenation operator.
I implemented the concat operator as a poly operator. Usage example:
<:value< concat "foo" "bar" >>
This is my very first patch, please tell me if I did anything in a wrong manner :-)
Followup
No Followups Have Been Posted
Attached Files:
Attachments:
concat.patch
Changes:
Field
Old Value
Date
By
File Added
204: concat.patch
2013-02-21 02:42
shepard