I need a Lambda with API enabled that can take IDs list and Column names and give an output as a SQL Query. For example I give 1,2,3 as IDs , Name , Number, Color as column names. Then output should be
'Select Name, Number, Color
from NameTable a
inner join NumberTable b on [login to view URL] = [login to view URL]
inner join ColorTable c on [login to view URL] = [login to view URL]
where IDS in ( 1,2,3) .
If the column names are only Name and Number then query should be
'Select Name, Number
from NameTable a
inner join NumberTable b on [login to view URL] = [login to view URL]
where IDS in ( 1,2,3)
Lambda should check column names and based on the column name join statement should be added dynamically to build the query.
I have total 6+ Years of experience in development. I am working on AWS from long time. I have understood your requirements. I will deliver this with in time.
Hi there,
Sounds quite straightforward.
When you mention "API Enabled", does that mean you want an AWS API Gateway service there? or is it because you already have an API Endpoint which will be pointing and triggering this Lambda?
How would you like the output? as a simple one-off response or you want to persist it on an S3 bucket or something else?
As per the description of your problem, as I already said, it's something straightforward to do. I have more than 10 years of experience and I just started on Freelancer so this could be a good chance for you and for me to do something nicely and smoothly.
BTW: what programming language you'd prefer? I'd recommend nodejs or python, but I'm a Senior Software Architect and Developer so I can handle whatever you require.
Cheers.