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

Implement a insert_multiple() #68

Open
vetsin opened this issue Apr 25, 2023 · 0 comments
Open

Implement a insert_multiple() #68

vetsin opened this issue Apr 25, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@vetsin
Copy link
Collaborator

vetsin commented Apr 25, 2023

We have update_multiple and delete_multiple which take advantage of the batch api -- no reason to not do the same with insert.

I imagine something like:

gr = client.GlideRecord('some_table')

gr.initialize()
gr.name = 'first'

gr.initialize()
gr.name = 'second'

gr.insert_multiple() # or maybe even just gr.insert()

We may want to 'iterate' the record to make it more obvious?

@vetsin vetsin added the enhancement New feature or request label Apr 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant