pub struct RuleRF02;Expand description
RF02: Column references should be qualified when multiple tables are present.
When a SELECT statement references multiple tables (via FROM + JOINs), all column references should be qualified with a table alias or name to avoid ambiguity.
Trait Implementations§
Source§impl Rule for RuleRF02
impl Rule for RuleRF02
Source§fn description(&self) -> &'static str
fn description(&self) -> &'static str
One-line description.
Source§fn explanation(&self) -> &'static str
fn explanation(&self) -> &'static str
Multi-sentence explanation for AI consumers.
Source§fn is_fixable(&self) -> bool
fn is_fixable(&self) -> bool
Can this rule auto-fix violations?
Source§fn crawl_type(&self) -> CrawlType
fn crawl_type(&self) -> CrawlType
Which segments should be visited.
Source§fn eval(&self, ctx: &RuleContext<'_>) -> Vec<LintViolation>
fn eval(&self, ctx: &RuleContext<'_>) -> Vec<LintViolation>
Evaluate the rule at the given context, returning violations.
Auto Trait Implementations§
impl Freeze for RuleRF02
impl RefUnwindSafe for RuleRF02
impl Send for RuleRF02
impl Sync for RuleRF02
impl Unpin for RuleRF02
impl UnsafeUnpin for RuleRF02
impl UnwindSafe for RuleRF02
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more