Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: can specify alias in SQL::Maker#select #22

Merged
merged 2 commits into from Jun 24, 2013

Conversation

Songmu
Copy link
Contributor

@Songmu Songmu commented Jun 22, 2013

It can be specified column alias as follows.

$builder->select( 'foo', [ 'foo', [bar => 'barbar'] ] );

@tokuhirom
Copy link
Owner

You should document it.

@Songmu
Copy link
Contributor Author

Songmu commented Jun 23, 2013

done.

@Songmu
Copy link
Contributor Author

Songmu commented Jun 24, 2013

SQL::Maker::Select->add_select($column, [$alias]) already exists,
but it seems there is no route to call it from SQL::Maker->select, then
I wrote this interface.

tokuhirom added a commit that referenced this pull request Jun 24, 2013
feature: can specify alias in SQL::Maker#select
@tokuhirom tokuhirom merged commit 78e6ba6 into tokuhirom:master Jun 24, 2013
@Songmu Songmu deleted the feature/maker-select-alias branch June 24, 2013 04:19
@Songmu
Copy link
Contributor Author

Songmu commented Jun 24, 2013

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants