MCPcopy Create free account
hub / github.com/agraef/pure-lang / pure_is_sqlnull

Function pure_is_sqlnull

pure-sql3/sql3util.c:97–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95}
96
97static inline bool pure_is_sqlnull(pure_expr *x)
98{
99 int32_t sym;
100 if (sqlnull_sym == 0) sqlnull_sym = pure_sym("sql3::SQLNULL");
101 return pure_is_symbol(x, &sym) && sym == sqlnull_sym;
102}
103
104/* Convert an SQLite value to a corresponding Pure expression. This provides
105 interfaces for the sqlite3_column_value family and the sqlite3_value

Callers 2

sql3util_bind_valueFunction · 0.70
sql3util_result_valueFunction · 0.70

Calls 2

pure_symFunction · 0.85
pure_is_symbolFunction · 0.85

Tested by

no test coverage detected