-
-
Notifications
You must be signed in to change notification settings - Fork 589
docs: some small updates after beta 39+ #2566
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
base: main
Are you sure you want to change the base?
Conversation
|
This is good to be reviewed and merged |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
grafast/website/grafast/step-library/dataplan-pg/pgCondition.md
Outdated
Show resolved
Hide resolved
grafast/website/grafast/step-library/dataplan-pg/pgDeleteSingle.md
Outdated
Show resolved
Hide resolved
grafast/website/grafast/step-library/dataplan-pg/pgDeleteSingle.md
Outdated
Show resolved
Hide resolved
grafast/website/grafast/step-library/dataplan-pg/pgInsertSingle.md
Outdated
Show resolved
Hide resolved
grafast/website/grafast/step-library/dataplan-pg/pgUpdateSingle.md
Outdated
Show resolved
Hide resolved
grafast/website/grafast/step-library/dataplan-pg/pgUpdateSingle.md
Outdated
Show resolved
Hide resolved
grafast/website/grafast/step-library/dataplan-pg/registry/codecs.md
Outdated
Show resolved
Hide resolved
grafast/website/grafast/step-library/dataplan-pg/registry/codecs.md
Outdated
Show resolved
Hide resolved
grafast/website/grafast/step-library/dataplan-pg/pgCondition.md
Outdated
Show resolved
Hide resolved
} | ||
} | ||
} | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jemgillam I'm not sure this belongs here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was the following, I assume you thought it was an easy self-explanatory example
const $users = usersResource.find();
const tbl = $users.alias;
const $username = fieldArgs.getRaw("username");
const frag = $users.placeholder($username, TYPES.citext);
$users.where(sql`${tbl}.username = ${frag}`);
Remove the example if it's too complicated?
Description
Slowly tweaking some documentation to align with changes made in grafast beta 39 onwards
ref https://github.com/graphile/crystal/blob/main/postgraphile/postgraphile/CHANGELOG.md#500-beta39
Modifier
class"fieldArgs.get
becomesfieldArgs.getRaw
in our simple examples$step.placeholder($step, codec)
becomesstep.sqlValueWithCodec(value, codec)