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

How to use rbatis to implement dynamic structure like Java return value map < string, Object > #523

Open
wcpsoft opened this issue May 8, 2024 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@wcpsoft
Copy link

wcpsoft commented May 8, 2024

How to use rbatis to implement dynamic structure like Java return value map < string, Object > , I want to write a dynamic SQL DBIO for general DBIO DBIO. HTML manipulates the database, and the surface and field names and conditions are dynamically parsed by SQL, similar to MYBATIS3's tag parsing.

@wcpsoft
Copy link
Author

wcpsoft commented May 8, 2024

#[html_sql("src/mapper/dbio/dbio.html")]
async fn select_test(rb: & dyn Executor) -> Vec {
impled!()
}
Similar writing does not work

@zhuxiujia
Copy link
Member

not support , must be

[ {"column":"value"}  ,   {"column":"value"}]

@zhuxiujia zhuxiujia added the help wanted Extra attention is needed label May 9, 2024
@wcpsoft
Copy link
Author

wcpsoft commented May 10, 2024

Is there a plan to support it? This is important for low code development

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants