CoolFace
Modelpublic

AryaWu/sqlite

sourceHugging Faceupdated 9mo agoView on Hugging Face
0likes
update_injectable_functions.json27 linesDownload Raw Back to injectable_functions
1[2  {3    "function_name": "sqlite3ColumnDefault",4    "function_signature": "void sqlite3ColumnDefault(Vdbe *v, Table *pTab, int i, int iReg)",5    "test_filename": "tests_update_sqlite3ColumnDefault.c"6  },7  {8    "function_name": "indexColumnIsBeingUpdated",9    "function_signature": "static int indexColumnIsBeingUpdated(\n  Index *pIdx,      /* The index to check */\n  int iCol,         /* Which column of the index to check */\n  int *aXRef,       /* aXRef[j]>=0 if column j is being updated */\n  int chngRowid     /* true if the rowid is being updated */\n)",10    "test_filename": "tests_update_indexColumnIsBeingUpdated.c"11  },12  {13    "function_name": "updateFromSelect",14    "function_signature": "static void updateFromSelect(\n  Parse *pParse,                  /* Parse context */\n  int iEph,                       /* Cursor for open eph. table */\n  Index *pPk,                     /* PK if table 0 is WITHOUT ROWID */\n  ExprList *pChanges,             /* List of expressions to return */\n  SrcList *pTabList,              /* List of tables to select from */\n  Expr *pWhere,                   /* WHERE clause for query */\n  ExprList *pOrderBy,             /* ORDER BY clause */\n  Expr *pLimit                    /* LIMIT clause */\n)",15    "test_filename": "tests_update_updateFromSelect.c"16  },17  {18    "function_name": "sqlite3Update",19    "function_signature": "void sqlite3Update(\n  Parse *pParse,         /* The parser context */\n  SrcList *pTabList,     /* The table in which we should change things */\n  ExprList *pChanges,    /* Things to be changed */\n  Expr *pWhere,          /* The WHERE clause.  May be null */\n  int onError,           /* How to handle constraint errors */\n  ExprList *pOrderBy,    /* ORDER BY clause. May be null */\n  Expr *pLimit,          /* LIMIT clause. May be null */\n  Upsert *pUpsert        /* ON CONFLICT clause, or null */\n)",20    "test_filename": "tests_update_sqlite3Update.c"21  },22  {23    "function_name": "updateVirtualTable",24    "function_signature": "static void updateVirtualTable(\n  Parse *pParse,       /* The parsing context */\n  SrcList *pSrc,       /* The virtual table to be modified */\n  Table *pTab,         /* The virtual table */\n  ExprList *pChanges,  /* The columns to change in the UPDATE statement */\n  Expr *pRowid,        /* Expression used to recompute the rowid */\n  int *aXRef,          /* Mapping from columns of pTab to entries in pChanges */\n  Expr *pWhere,        /* WHERE clause of the UPDATE statement */\n  int onError          /* ON CONFLICT strategy */\n)",25    "test_filename": "tests_update_updateVirtualTable.c"26  }27]