Skip to content

Immudb.io examples - #25

Draft
tomekkolo wants to merge 4 commits into
masterfrom
documentation-examples
Draft

Immudb.io examples #25
tomekkolo wants to merge 4 commits into
masterfrom
documentation-examples

Conversation

@tomekkolo

Copy link
Copy Markdown

jumpstart examples

@tomekkolo
tomekkolo requested review from byo and jeroiraz May 13, 2022 10:17

@byo byo left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Few comments added.

Also github actions are outdated and will not actually run the code samples (they're expecting go files in the go folder)

true,
)
if err != nil {
fmt.Printf("To tu ?")

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some debug code?

// This is also how you perform inserts:
_, err = client.SQLExec(context.TODO(),
"UPSERT INTO people(id, name, salary) VALUES (@id, @name, @salary);",
map[string]interface{}{"id": 1, "name": "Joe", "salary": 1000},

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're missing some example with positional (unnamed) parameters

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.

2 participants